예제 #1
0
 void checkDead()
 {
     if (isDead == false && numHearts < 0)
     {
         isDead = true;
         player.Die();
         timer.playerDied();
     }
 }