MCPcopy Create free account
hub / github.com/Cirrus-Minor/witchblast / makeExplode

Method makeExplode

src/BaseCreatureEntity.cpp:473–478  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473void BaseCreatureEntity::makeExplode()
474{
475 new ExplosionEntity(x, y, ExplosionTypeStandard, 16, EnemyTypeNone, false);
476 game().addCorpse(x, y, FRAME_CORPSE_SLIME_VIOLET);
477 SoundManager::getInstance().playSound(SOUND_BOOM_00);
478}
479
480int BaseCreatureEntity::hurt(StructHurt hurtParam)
481{

Callers

nothing calls this directly

Calls 2

playSoundMethod · 0.80
addCorpseMethod · 0.45

Tested by

no test coverage detected