Ejemplo n.º 1
0
        public ParticleEmitter(ParticleEmitterData particleData)
        {
            EmitterData    = particleData;
            Particles      = new List <Particle>();
            _deadParticles = new List <Particle>();

            _random    = new Random();
            _destroyed = false;

            ParticleUpdateThread = new Thread(new ThreadStart(Update));
            ParticleUpdateThread.Start();
        }
Ejemplo n.º 2
0
 public static void PreLoadData()
 {
     ClassData.ReloadData();
     DropTableData.ReloadData();
     EnemyData.ReloadData();
     EventData.ReloadData();
     ItemData.ReloadData();
     MapInfo.ReloadData();
     ProjectileData.ReloadData();
     CraftableData.ReloadData();
     ParticleEmitterData.ReloadData();
     QuestData.ReloadData();
     ShopData.ReloadData();
     SpriteData.ReloadData();
     SystemData.ReloadData();
     SystemVariable.ReloadData();
     TilesetData.ReloadData();
 }
Ejemplo n.º 3
0
 public static void AddEmitterData(ParticleEmitterData data)
 {
     _emittersData.Add(data);
 }