public class ButtonFactory extends java.lang.Object implements UiElementFactory<Button>
Constructor and Description |
---|
ButtonFactory() |
Modifier and Type | Method and Description |
---|---|
Button |
build(org.mini2Dx.gdx.xml.XmlReader.Element xmlTag)
Simply instantiate an instance of the UiElement
|
public Button build(org.mini2Dx.gdx.xml.XmlReader.Element xmlTag)
UiElementFactory
This is intended to help handle scenarios where there is NO default constructor for an UiElement
build
in interface UiElementFactory<Button>
xmlTag
- - the tag that triggered this element to be created