public class UIConfigVO
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<AnimatorVO> |
animators |
java.util.ArrayList<FontVO> |
fonts |
protected java.util.HashMap<java.lang.String,AnimatorVO> |
mAnimatorMap |
float |
screen_scale |
TextureManagerVO |
texture_manager |
Constructor and Description |
---|
UIConfigVO(JSONObject json) |
Modifier and Type | Method and Description |
---|---|
void |
applyScale(float factor)
Apply a screen's scale factor to some certain numbers such as x, y, dx, dy.
|
protected static java.util.ArrayList<AnimatorVO> |
getAnimators(JSONArray array) |
AnimatorVO |
getAnimatorVO(java.lang.String name) |
protected static java.util.ArrayList<FontVO> |
getFonts(JSONArray array) |
public float screen_scale
public TextureManagerVO texture_manager
public java.util.ArrayList<FontVO> fonts
public java.util.ArrayList<AnimatorVO> animators
protected java.util.HashMap<java.lang.String,AnimatorVO> mAnimatorMap
public UIConfigVO(JSONObject json) throws JSONException
JSONException
public void applyScale(float factor)
factor
- TextureOptions
protected static java.util.ArrayList<FontVO> getFonts(JSONArray array) throws JSONException
JSONException
protected static java.util.ArrayList<AnimatorVO> getAnimators(JSONArray array) throws JSONException
JSONException
public AnimatorVO getAnimatorVO(java.lang.String name)