| 214 | } |
| 215 | |
| 216 | SetupEmbeddedScriptPopup* SetupEmbeddedScriptPopup::create(TextGameObject* obj) { |
| 217 | auto ret = new SetupEmbeddedScriptPopup(); |
| 218 | if (ret->init(obj)) { |
| 219 | ret->autorelease(); |
| 220 | return ret; |
| 221 | } |
| 222 | delete ret; |
| 223 | return nullptr; |
| 224 | } |
| 225 | |
| 226 | } |