MCPcopy
hub / github.com/phoboslab/q1k3 / _kill

Method _kill

source/entity_enemy.js:177–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

175 }
176
177 _kill() {
178 super._kill();
179 for (let m of model_gib_pieces) {
180 this._spawn_particles(2, 300, m, 18, 1);
181 }
182 this._play_sound(sfx_enemy_gib);
183 game_entities_enemies = game_entities_enemies.filter(e => e != this);
184 }
185
186 _did_collide(axis) {
187 if (axis == 1) {

Callers

nothing calls this directly

Calls 2

_spawn_particlesMethod · 0.80
_play_soundMethod · 0.80

Tested by

no test coverage detected