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 LevelOne() { level1 = new GamePlayLevel1(this); gameState = GAMESTATE.LEVEL1; GameIndex = 1; levelSelectionScreen = null; Ammo = 20; TimeLimit = 50f; EnemyCount = 10; Health = 100; }
public void Congrats() { congratsScreen = new CongratsScreen(this); gameState = GAMESTATE.FINISH; level1 = null; level2 = null; level3 = null; }