public void GameOver() { for (int i = 0; i < Entities.Count(); i++) Entities[i].Alive = false; for (int i = 0; i < Enemies.Count(); i++) Enemies[i].Alive = false; for (int i = 0; i < CharacterBullets.Count(); i++) CharacterBullets[i].Alive = false; for (int i = 0; i < EnemyBullet.Count(); i++) EnemyBullet[i].Alive = false; gameOverScreen = new GameOverScreen(this); gameState = GAMESTATE.END; level1 = null; level2 = null; level3 = null; }
public void LevelTwo() { level2 = new GamePlayLevel2(this); gameState = GAMESTATE.LEVEL2; GameIndex = 2; levelSelectionScreen = null; Ammo = 40; TimeLimit = 80f; EnemyCount = 15; Health = 100; }
public void Congrats() { congratsScreen = new CongratsScreen(this); gameState = GAMESTATE.FINISH; level1 = null; level2 = null; level3 = null; }