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