mirror of
https://github.com/IllusionMan1212/adventures-of-kuroneko.git
synced 2026-10-24 02:12:36 +00:00
Finalized
This commit is contained in:
@@ -17,6 +17,7 @@ ig.module(
|
||||
flip: true,
|
||||
player: null,
|
||||
is_dead: false,
|
||||
death: new ig.Sound('media/sounds/mouse-squeaking.*'),
|
||||
|
||||
animSheet: new ig.AnimationSheet('media/mouse.png', 26, 9),
|
||||
|
||||
@@ -81,6 +82,7 @@ ig.module(
|
||||
|
||||
kill: function() {
|
||||
this.is_dead = true;
|
||||
this.death.play();
|
||||
this.speed = 0;
|
||||
this.collides = ig.Entity.COLLIDES.NEVER;
|
||||
setTimeout(function(){ig.game.removeEntity(this);}.bind(this), 500);
|
||||
|
||||
Reference in New Issue
Block a user