public class ModelConvertHelper
extends java.lang.Object
Constructor and Description |
---|
ModelConvertHelper()
Class constructor
|
Modifier and Type | Method and Description |
---|---|
DisplayableElementModel |
toModel(java.lang.String spriteName,
boolean isConvertible)
Gets the model associated to the string
|
java.lang.String |
toString(DisplayableElementModel model)
Gets the string associated to the model
|
public DisplayableElementModel toModel(java.lang.String spriteName, boolean isConvertible) throws UnknownModelException
spriteName
- Sprite nameUnknownModelException
public java.lang.String toString(DisplayableElementModel model)