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 LevelThree() { level3 = new GamePlayLevel3(this); gameState = GAMESTATE.LEVEL3; GameIndex = 3; levelSelectionScreen = null; Ammo = 60; TimeLimit = 120f; EnemyCount = 25; Health = 100; }
public void Congrats() { congratsScreen = new CongratsScreen(this); gameState = GAMESTATE.FINISH; level1 = null; level2 = null; level3 = null; }