public LevelFour() : base() { boss = new KamacazieBoss(); done = false; levelTimeout= maxTimeout; spawnKamicazeCooldown = 2.0f; spawnFighterCooldown = 2.0f; kamacazieWave = new Kamacazie[3]; for (int i = 0; i < 3; i++) { kamacazieWave[i] = new Kamacazie(); } }
public static void LoadContent() { rand = new Random(); activeObjects = new List<AeroObject>(); activeObjects.Capacity = 1024; cruisers = new Cruiser[maxCruisers]; for (int i = 0; i < maxCruisers; i++) { cruisers[i] = new Cruiser(); } fighter = new Fighter();//////////////////Level Two+ kamacazie = new Kamacazie();/////////////////////Level 3+ fatBoss = new FatBoss();////////////////////////////Survival //boss = new BossOne(game,player);////////////////Each Level powerUp = new PowerUpRapidFire(); soundPowerUpPickup = AeroGame.ContentManager.Load<SoundEffect>("Sounds\\PowerupPickup"); soundPowerUpKill = AeroGame.ContentManager.Load<SoundEffect>("Sounds\\PowerupKill"); //backgroundMusic = AeroGame.ContentManager.Load<SoundEffect>("Sounds\\SoundBackground"); //backgroundMusic.Play(1.0f, 0, 0, true); }