void DisplayError() { if (aController == null) { ProjectMethods.NoAlienControllerComponentMsg(); ProjectMethods.QuitGame(); } }
void DisplayError() { if (gameController == null) { ProjectMethods.NoGameControllerComponentMsg(); ProjectMethods.QuitGame(); } if (owner == null && testMode == false) { ProjectMethods.NoAlienControllerComponentMsg(); ProjectMethods.QuitGame(); } }
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(); } }