public static Emitter[] GetAllEmitters()
        {
            Emitter[] emitterArray = new Emitter[mEmitters.Values.Count];

            mEmitters.Values.CopyTo(emitterArray, 0);

            return emitterArray;
        }
 public static void RemoveEmitter(Emitter emitter)
 {
 }
 public static void AddEmitter(string emitterNameIdentifier, Emitter emitter)
 {
     mEmitters.Add(emitterNameIdentifier, emitter);
 }
 public static void FireEmitter(Emitter emitter)
 {
     emitter.Fire();
 }
Esempio n. 5
0
 public Particle(Emitter owner)
     : base(0,0)
 {
     mTexture = ResourceManager.GetTexture("pixel");
     mOwner = owner;
 }