Ejemplo n.º 1
0
 // Methods
 #region Tick
 public sealed override void Tick(float time)
 {
     foreach (var ITEM in Emitters.Values)
     {
         ITEM.Tick(time);
     }
 }
Ejemplo n.º 2
0
        // Methods
        #region Tick
        public sealed override void Tick(float time)
        {
            foreach (var ITEM in Actors.Values)
            {
                ITEM.Tick(time);

                if (ITEM.Timer.IsElapsed)
                {
                    ITEM.Position.Previous = ITEM.Position.Current;
                    ITEM.Position.Current  = ITEM.Position.Next;
                }
            }
        }