| 43 | // implementation of ShakyTiles3D |
| 44 | |
| 45 | ShakyTiles3D* ShakyTiles3D::create(float duration, const Vec2& gridSize, int range, bool shakeZ) |
| 46 | { |
| 47 | ShakyTiles3D* action = new ShakyTiles3D(); |
| 48 | |
| 49 | if (action->initWithDuration(duration, gridSize, range, shakeZ)) |
| 50 | { |
| 51 | action->autorelease(); |
| 52 | return action; |
| 53 | } |
| 54 | |
| 55 | delete action; |
| 56 | return nullptr; |
| 57 | } |
| 58 | |
| 59 | bool ShakyTiles3D::initWithDuration(float duration, const Vec2& gridSize, int range, bool shakeZ) |
| 60 | { |
nothing calls this directly
no test coverage detected