remove dead code

This commit is contained in:
Mylloon 2022-12-02 15:51:46 +01:00
parent 37c51d7db8
commit 4cba1f49ef
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 0 additions and 6 deletions

View file

@ -119,8 +119,6 @@ export class Env {
!player.animation(ennemies.map((object) => object.data)) !player.animation(ennemies.map((object) => object.data))
) { ) {
// If animation returned false, the player died! // If animation returned false, the player died!
player.deadAnimation();
playerDead = true; playerDead = true;
} }
} }

View file

@ -110,8 +110,4 @@ export class Player extends Cube {
// No ennemies found // No ennemies found
return false; return false;
}; };
deadAnimation = () => {
console.log("player died!");
};
} }