MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / playDeathEffect

Method playDeathEffect

Source/PlayerObject.cpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

destroyPlayerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected