| 20 | #include "EffectGameObject.h" |
| 21 | |
| 22 | GroupCommandObject* GroupCommandObject::create() |
| 23 | { |
| 24 | GroupCommandObject* ret = new GroupCommandObject(); |
| 25 | if (ret->init()) |
| 26 | { |
| 27 | ret->autorelease(); |
| 28 | return ret; |
| 29 | } |
| 30 | else |
| 31 | { |
| 32 | delete ret; |
| 33 | ret = nullptr; |
| 34 | return nullptr; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | void GroupCommandObject::runMoveCommand(float duration, ax::Point offsetPos, int easeType, float easeAmt) |
| 39 | { |