예제 #1
0
 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();
     }
 }
예제 #2
0
파일: Level.cs 프로젝트: JustinLogic/Aero
 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);
 }