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