Exemple #1
0
 private void CheckGameOver()
 {
     if (player.playerFood <= 0)
     {
         EventControl.LoseCon();
     }
     else if (player.playerHealth <= 0)
     {
         EventControl.LoseCon();
     }
 }