| 57 | } |
| 58 | |
| 59 | bool ShakyTiles3D::initWithDuration(float duration, const Vec2& gridSize, int range, bool shakeZ) |
| 60 | { |
| 61 | if (TiledGrid3DAction::initWithDuration(duration, gridSize)) |
| 62 | { |
| 63 | _randrange = range; |
| 64 | _shakeZ = shakeZ; |
| 65 | |
| 66 | return true; |
| 67 | } |
| 68 | |
| 69 | return false; |
| 70 | } |
| 71 | |
| 72 | ShakyTiles3D* ShakyTiles3D::clone() const |
| 73 | { |