public class ImageFactory extends java.lang.Object implements UiElementFactory<Image>
Constructor and Description |
---|
ImageFactory() |
Modifier and Type | Method and Description |
---|---|
Image |
build(org.mini2Dx.gdx.xml.XmlReader.Element xmlTag)
Simply instantiate an instance of the UiElement
|
public Image 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<Image>
xmlTag
- - the tag that triggered this element to be created