update text
This commit is contained in:
parent
9210ee9e71
commit
d9fb5d30db
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ Q.Sprite.extend("Starbug",{
|
||||||
// end the game unless the enemy is hit on top
|
// end the game unless the enemy is hit on top
|
||||||
this.on("bump.left,bump.right,bump.bottom",function(collision) {
|
this.on("bump.left,bump.right,bump.bottom",function(collision) {
|
||||||
if(collision.obj.isA("Player")) {
|
if(collision.obj.isA("Player")) {
|
||||||
Q.stageScene("endGame",1, { label: "You Died" });
|
Q.stageScene("endGame",1, { label: "DU BIST TOT" });
|
||||||
collision.obj.destroy();
|
collision.obj.destroy();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Reference in a new issue