Esempio n. 1
0
        /*  */
        public override void Initialize(ContentManager content, WaveManager manager)
        {
            infiniteAmmoModeOn = false;
            infiniteFoodModeOn = true;
            isTutorialWave = false;
            waveSize = wavesize;
            spawnTimings = new List<double>(waveSize);
            enemiesToSpawn = new List<Enemy>(waveSize);
            lootList = new List<Loot>(waveSize);
            enemiesToSpawn.Insert(0, new HeadShotTest());
            spawnTimings.Insert(0, baseTime + 0 * interval);
            enemiesToSpawn.Insert(1, new HeadShotTest());
            spawnTimings.Insert(1, baseTime + 1 * interval);
            enemiesToSpawn.Insert(2, new HumanShieldEnemy());
            spawnTimings.Insert(2, baseTime + 2 * interval);
            enemiesToSpawn.Insert(3, new HeadShotTest());
            spawnTimings.Insert(3, baseTime + 4 * interval);
            enemiesToSpawn.Insert(4, new Enemy1());
            spawnTimings.Insert(4, baseTime + 4.5 * interval);
            enemiesToSpawn.Insert(5, new ParachuteEnemy());
            spawnTimings.Insert(5, baseTime + 6 * interval);
            enemiesToSpawn.Insert(6, new HumanShieldEnemy());
            spawnTimings.Insert(6, baseTime + 7.5 * interval);
            enemiesToSpawn.Insert(7, new HeadShotTest());
            spawnTimings.Insert(7, baseTime + 8 * interval);
            enemiesToSpawn.Insert(8, new ParachuteEnemy());
            spawnTimings.Insert(8, baseTime + 9.5 * interval);
            enemiesToSpawn.Insert(9, new ParachuteEnemy());
            spawnTimings.Insert(9, baseTime + 10 * interval);
            enemiesToSpawn.Insert(10, new ParachuteEnemy());
            spawnTimings.Insert(10, baseTime + 10.5 * interval);
            enemiesToSpawn.Insert(11, new HeadShotTest());
            spawnTimings.Insert(11, baseTime + 11 * interval);
            enemiesToSpawn.Insert(12, new ParachuteEnemy());
            spawnTimings.Insert(12, baseTime + 11 * interval);
            enemiesToSpawn.Insert(13, new ParachuteEnemy());
            spawnTimings.Insert(13, baseTime + 11.5 * interval);
            lootList.Add(new SniperAmmoLoot(3, content));
            lootList.Add(new MachineGunAmmoLoot(12, content));
            lootList.Add(new MachineGunAmmoLoot(10, content));
            lootList.Add(new SniperAmmoLoot(3, content));
            lootList.Add(new MachineGunAmmoLoot(8, content));
            lootList.Add(new MachineGunAmmoLoot(12, content));
            lootList.Add(new MachineGunAmmoLoot(10, content));
            lootList.Add(new SniperAmmoLoot(2, content));
            lootList.Add(new MachineGunAmmoLoot(10, content));
            lootList.Add(new MachineGunAmmoLoot(10, content));
            lootList.Add(new SniperAmmoLoot(3, content));
            lootList.Add(new SniperAmmoLoot(4, content));
            lootList.Add(new MachineGunAmmoLoot(6, content));
            lootList.Add(new SniperAmmoLoot(2, content));

            openingTextFilename = "Content//Text//LadderDemoWave2.txt";
            layout = new LadderLayout();
            base.Initialize(content, manager);
        }
Esempio n. 2
0
 public override void Initialize(ContentManager content, WaveManager manager)
 {
     infiniteAmmoModeOn = false;
     infiniteFoodModeOn = true;
     isTutorialWave = false;
     waveSize = wavesize;
     spawnTimings = new List<double>(waveSize);
     enemiesToSpawn = new List<Enemy>(waveSize);
     lootList = new List<Loot>(waveSize);
     enemiesToSpawn.Insert(0, new HeadShotTest());
     spawnTimings.Insert(0, baseTime + 0 * interval);
     lootList.Add(new SniperAmmoLoot(2, content));
     openingTextFilename = "Content//Text//LadderWave3.txt";
     layout = new LadderLayout();
     base.Initialize(content, manager);
 }