Example #1
0
 private bool IsGameEnd()
 {
     if (player.IsDead || entityHandler.AIShipCount() == 0 || SwinGame.KeyTyped(KeyCode.EscapeKey))
     {
         return(true);
     }
     return(false);
 }