예제 #1
0
        public ParticleManager(Game game)
            : base(game)
        {
            particleSystems = new List <ParticleSystem>();

            rockTrailSmoke       = new RockTrailSmoke(game);
            rockTrailSparks      = new RockTrailSparks(game);
            planetExplosionFire  = new PlanetExplosionFire(game);
            planetExplosionSmoke = new PlanetExplosionSmoke(game);

            rockExplosionSparks = new RockExplosionSparks(game);
            rockExplosionSmoke  = new RockExplosionSmoke(game);
            rockExplosionFire   = new RockExplosionFire(game);

            novaFire   = new NovaFire(game);
            novaSmoke  = new NovaSmoke(game);
            novaSparks = new NovaSparks(game);

            particleSystems.Add(rockTrailSmoke);
            particleSystems.Add(rockTrailSparks);

            particleSystems.Add(planetExplosionFire);
            particleSystems.Add(planetExplosionSmoke);

            particleSystems.Add(rockExplosionSparks);
            particleSystems.Add(rockExplosionSmoke);
            particleSystems.Add(rockExplosionFire);

            particleSystems.Add(novaFire);
            particleSystems.Add(novaSmoke);
            particleSystems.Add(novaSparks);
        }
        public ParticleManager(Game game)
            : base(game)
        {
            particleSystems = new List <ParticleSystem>();

            rockTrailSmoke       = new RockTrailSmoke(game);
            rockTrailSparks      = new RockTrailSparks(game);
            planetExplosionFire  = new PlanetExplosionFire(game);
            planetExplosionSmoke = new PlanetExplosionSmoke(game);

            rockExplosionSparks = new RockExplosionSparks(game);
            rockExplosionSmoke  = new RockExplosionSmoke(game);
            rockExplosionFire   = new RockExplosionFire(game);

            novaFire         = new NovaFire(game);
            novaGlow         = new NovaGlow(game);
            novaSmoke        = new NovaSmoke(game);
            novaSparks       = new NovaSparks(game);
            missileHitFire   = new MissileHitFire(game);
            missileHitSmoke  = new MissileHitSmoke(game);
            missileHitSparks = new MissileHitSparks(game);
            missileHitDebris = new MissileHitDebris(game);

            smiteSmoke = new SmiteSmoke(game);

            missileDeflectSparks = new MissileDeflectSparks(game);
            missileDeflectFire   = new MissileDeflectFire(game);

            missileTrailSmoke  = new MissileTrailSmoke(game);
            missileTrailSparks = new MissileTrailSparks(game);

            muzzleFire  = new MuzzleFire(game);
            muzzleSmoke = new MuzzleSmoke(game);

            missileRingSmoke = new MissileRingSmoke(game);

            hulkTrailSmoke  = new HulkTrailSmoke(game);
            hulkTrailDebris = new HulkTrailDebris(game);
            hulkTrailFire   = new HulkTrailFire(game);

            deflectTrailSmoke  = new DeflectTrailSmoke(game);
            deflectTrailSparks = new DeflectTrailSparks(game);

            torpedoTrailFire  = new TorpedoTrailFire(game);
            torpedoTrailSmoke = new TorpedoTrailSmoke(game);

            particleSystems.Add(rockTrailSmoke);
            particleSystems.Add(rockTrailSparks);

            particleSystems.Add(planetExplosionFire);
            particleSystems.Add(planetExplosionSmoke);

            particleSystems.Add(rockExplosionSparks);
            particleSystems.Add(rockExplosionSmoke);
            particleSystems.Add(rockExplosionFire);

            particleSystems.Add(novaFire);
            particleSystems.Add(novaSmoke);
            particleSystems.Add(novaSparks);
            particleSystems.Add(novaGlow);

            particleSystems.Add(smiteSmoke);

            particleSystems.Add(missileTrailSmoke);
            particleSystems.Add(missileTrailSparks);
            particleSystems.Add(missileHitFire);
            particleSystems.Add(missileHitSmoke);
            particleSystems.Add(missileHitSparks);
            particleSystems.Add(missileHitDebris);

            particleSystems.Add(missileDeflectSparks);
            particleSystems.Add(missileDeflectFire);

            particleSystems.Add(muzzleFire);
            particleSystems.Add(muzzleSmoke);

            particleSystems.Add(missileRingSmoke);

            particleSystems.Add(hulkTrailSmoke);
            particleSystems.Add(hulkTrailDebris);
            particleSystems.Add(hulkTrailFire);

            particleSystems.Add(deflectTrailSmoke);
            particleSystems.Add(deflectTrailSparks);

            particleSystems.Add(torpedoTrailFire);
            particleSystems.Add(torpedoTrailSmoke);
        }