| 62 | } |
| 63 | |
| 64 | void PlayerObject::playDeathEffect() |
| 65 | { |
| 66 | AudioEngine::stopAll(); |
| 67 | AudioEngine::play2d("explode_11.ogg", false, 0.1f); |
| 68 | dragEffect1->pauseEmissions(); |
| 69 | getPlayLayer()->unscheduleUpdate(); |
| 70 | } |
| 71 | |
| 72 | bool PlayerObject::init(int playerFrame, Layer* gameLayer_) |
| 73 | { |