| 37 | } |
| 38 | |
| 39 | $override |
| 40 | GameObject* createObject(int p0, cocos2d::CCPoint p1, bool p2) { |
| 41 | auto obj = LevelEditorLayer::createObject(p0, p1, p2); |
| 42 | |
| 43 | auto type = classifyObjectId(p0); |
| 44 | if (type != ScriptObjectType::None) { |
| 45 | globed::postCreateObject(obj, type); |
| 46 | } |
| 47 | |
| 48 | return obj; |
| 49 | } |
| 50 | |
| 51 | $override |
| 52 | static void updateObjectLabel(GameObject* obj) { |
nothing calls this directly
no test coverage detected