resources.put(type, typeResources);\r
}\r
typeResources.put(name, resource);\r
- if (name.equals("tree-collapse-up")) System.out.println();\r
-\r
}\r
\r
public <T> T get (Class<T> type) {\r
/** Returns a registered drawable. If no drawable is found but a region, ninepatch, or sprite exists with the name, then the\r
* appropriate drawable is created and stored in the skin. */\r
public Drawable getDrawable (String name) {\r
- if (name.equals("tree-collapse-up")) System.out.println();\r
-\r
Drawable drawable = optional(name, Drawable.class);\r
if (drawable != null) return drawable;\r
\r
public Object read (Json json, Object jsonData, Class type) {\r
String name = json.readValue("name", String.class, jsonData);\r
Color color = json.readValue("color", Color.class, jsonData);\r
- if (name.equals("tree-collapse")) System.out.println();\r
return newDrawable(name, color);\r
}\r
});\r