Commits

dstr...@den-lt-dstrickl  committed fcaa1b2

added docs

  • Participants
  • Parent commits a2c5959

Comments (0)

Files changed (1)

File public/gamepkg/scripts/playerCharacter.js

                 var wep = this.weapons[i];
                 Crafty(wep).destroy();
             }
+            // if is player
             if(this.has('Player')){
                 // gameOver
                 Crafty.scene('GameOver');