Beispiel #1
0
 void DisplayError()
 {
     if (gameController == null)
     {
         ProjectMethods.NoGameControllerComponentMsg();
         ProjectMethods.QuitGame();
     }
 }
Beispiel #2
0
 void DisplayError()
 {
     if (gameController == null)
     {
         ProjectMethods.NoGameControllerComponentMsg();
         ProjectMethods.QuitGame();
     }
     if (owner == null && testMode == false)
     {
         ProjectMethods.NoAlienControllerComponentMsg();
         ProjectMethods.QuitGame();
     }
 }
Beispiel #3
0
 void DisplayError()
 {
     if (player == null)
     {
         ProjectMethods.NoPlayerObjectMsg();
         ProjectMethods.QuitGame();
     }
     else if (playerLives == null)
     {
         ProjectMethods.NoLivesComponentMsg();
         ProjectMethods.QuitGame();
     }
     else if (aController == null)
     {
         ProjectMethods.NoAlienControllerComponentMsg();
         ProjectMethods.QuitGame();
     }
 }