Ejemplo n.º 1
0
 public StateTileElement(Enumeration.StateTile state, Enumeration.PriorityState priority__1)
 {
     _state   = state;
     Priority = priority__1;
     Reverse  = Enumeration.SequenceReverse.Normal;
     OffSet   = Vector2.Zero;
 }
Ejemplo n.º 2
0
 public StateElement(Enumeration.State state)
 {
     _state         = state;
     _priorityState = Enumeration.PriorityState.Normal;
     _reverse       = Enumeration.SequenceReverse.Normal;
     _offset        = Vector2.Zero;
 }
Ejemplo n.º 3
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, Enumeration.SequenceReverse reverse)
 {
     _state         = state;
     _priorityState = priority;
     _reverse       = reverse;
     _offset        = Vector2.Zero;
 }
 public StatePlayerElement(Enumeration.State state, Enumeration.PriorityState priority, Enumeration.SequenceReverse reverse)
 {
     _state   = state;
     Priority = priority;
     Reverse  = reverse;
     OffSet   = Vector2.Zero;
 }
Ejemplo n.º 5
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, Enumeration.SequenceReverse reverse)
 {
     _state = state;
     _priorityState = priority;
     _reverse = reverse;
     _offset = Vector2.Zero;
 }
Ejemplo n.º 6
0
 public StateTileElement(Enumeration.StateTile state, Enumeration.PriorityState priority__1, Enumeration.SequenceReverse reverse__2)
 {
     _state   = state;
     Priority = priority__1;
     Reverse  = reverse__2;
     OffSet   = Vector2.Zero;
 }
Ejemplo n.º 7
0
 public StateElement(Enumeration.State state)
 {
     _state = state;
     _priorityState = Enumeration.PriorityState.Normal;
     _reverse = Enumeration.SequenceReverse.Normal;
     _offset = Vector2.Zero;
 }
 public StatePlayerElement(Enumeration.State state, Enumeration.PriorityState priority, Vector2 offSet)
 {
     _state   = state;
     Priority = priority;
     Reverse  = Enumeration.SequenceReverse.Normal;
     OffSet   = offSet;
 }
Ejemplo n.º 9
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, bool?stoppable, Enumeration.SequenceReverse reverse, Vector2 offSet)
 {
     _state         = state;
     _priorityState = priority;
     _stoppable     = stoppable;
     _reverse       = reverse;
     _offset        = offSet;
 }
Ejemplo n.º 10
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, bool?stoppable)
 {
     _state         = state;
     _priorityState = priority;
     _stoppable     = stoppable;
     _reverse       = Enumeration.SequenceReverse.Normal;
     _offset        = Vector2.Zero;
 }
Ejemplo n.º 11
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, System.Nullable <bool> stoppable, Enumeration.SequenceReverse reverse)
 {
     _state         = state;
     _priorityState = priority;
     _stoppable     = stoppable;
     _reverse       = reverse;
     _offset        = Vector2.Zero;
 }
Ejemplo n.º 12
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, System.Nullable<bool> stoppable, Enumeration.SequenceReverse reverse, Vector2 offSet)
 {
     _state = state;
     _priorityState = priority;
     _stoppable = stoppable;
     _reverse = reverse;
     _offset = offSet;
 }
Ejemplo n.º 13
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, System.Nullable<bool> stoppable)
 {
     _state = state;
     _priorityState = priority;
     _stoppable = stoppable;
     _reverse = Enumeration.SequenceReverse.Normal;
     _offset = Vector2.Zero;
 }
Ejemplo n.º 14
0
 public StateTileElement(Enumeration.StateTile state, Enumeration.PriorityState priority, bool?stoppable, Enumeration.SequenceReverse reverse)
 {
     _state    = state;
     Priority  = priority;
     Stoppable = stoppable;
     Reverse   = reverse;
     OffSet    = Vector2.Zero;
 }
Ejemplo n.º 15
0
 public StateTileElement(Enumeration.StateTile state, Enumeration.PriorityState priority__1, System.Nullable <bool> stoppable__2, Enumeration.SequenceReverse reverse__3, Vector2 offSet__4)
 {
     _state    = state;
     Priority  = priority__1;
     Stoppable = stoppable__2;
     Reverse   = reverse__3;
     OffSet    = offSet__4;
 }
Ejemplo n.º 16
0
 public StatePlayerElement(Enumeration.State state, Enumeration.PriorityState priority__1, System.Nullable <bool> stoppable__2, Enumeration.SequenceReverse reverse__3)
 {
     _state    = state;
     Priority  = priority__1;
     Stoppable = stoppable__2;
     Reverse   = reverse__3;
     OffSet    = Vector2.Zero;
 }
Ejemplo n.º 17
0
 public StateTileElement(Enumeration.StateTile state, Enumeration.PriorityState priority__1, System.Nullable <bool> stoppable__2)
 {
     _state    = state;
     Priority  = priority__1;
     Stoppable = stoppable__2;
     Reverse   = Enumeration.SequenceReverse.Normal;
     OffSet    = Vector2.Zero;
 }
 public StatePlayerElement(Enumeration.State state, Enumeration.PriorityState priority, bool?stoppable)
 {
     _state    = state;
     Priority  = priority;
     Stoppable = stoppable;
     Reverse   = Enumeration.SequenceReverse.Normal;
     OffSet    = Vector2.Zero;
 }
 public StatePlayerElement(Enumeration.State state, Enumeration.PriorityState priority, bool?stoppable, Enumeration.SequenceReverse reverse, Vector2 offSet)
 {
     _state    = state;
     Priority  = priority;
     Stoppable = stoppable;
     Reverse   = reverse;
     OffSet    = offSet;
 }
Ejemplo n.º 20
0
        public void Add(Enumeration.StateTile state, Enumeration.PriorityState priority)
        {
            if (data.Count == iSize)
            {
                data.Dequeue();
            }

            data.Enqueue(new StateTileElement(state, priority));
        }
Ejemplo n.º 21
0
        public void Add(Enumeration.State state, Enumeration.PriorityState priority, bool?stoppable, Enumeration.SequenceReverse reverse, Vector2 offSet)
        {
            if (data.Count == iSize)
            {
                data.Dequeue();
            }

            data.Enqueue(new StatePlayerElement(state, priority, stoppable, reverse, offSet));
        }
Ejemplo n.º 22
0
        public void Add(Enumeration.State state, Enumeration.PriorityState priority, System.Nullable <bool> stoppable)
        {
            if (data.Count == iSize)
            {
                data.Dequeue();
            }

            data.Enqueue(new StatePlayerElement(state, priority, stoppable, Enumeration.SequenceReverse.Normal));
        }
Ejemplo n.º 23
0
        public void Add(Enumeration.State state, Enumeration.PriorityState priority, Enumeration.SequenceReverse reverse)
        {
            if (data.Count == iSize)
            {
                data.Dequeue();
            }

            data.Enqueue(new StatePlayerElement(state, priority, reverse));
        }
Ejemplo n.º 24
0
        public void Add(Enumeration.State state, Enumeration.PriorityState priority, Vector2 offSet)
        {
            if (data.Count == iSize)
            {
                data.Dequeue();
            }

            data.Enqueue(new StatePlayerElement(state, priority, offSet));
        }
Ejemplo n.º 25
0
        public void Add(Enumeration.StateTile state, Enumeration.PriorityState priority, System.Nullable <bool> stoppable, Enumeration.SequenceReverse reverse, Vector2 offSet)
        {
            if (data.Count == iSize)
            {
                data.Dequeue();
            }

            data.Enqueue(new StateTileElement(state, priority, stoppable, reverse, offSet));
        }
Ejemplo n.º 26
0
        public void Add(Enumeration.StateTile state, Enumeration.PriorityState priority, bool?stoppable)
        {
            if (data.Count == iSize)
            {
                data.Dequeue();
            }

            data.Enqueue(new StateTileElement(state, priority, stoppable, Enumeration.SequenceReverse.Normal));
        }
Ejemplo n.º 27
0
        public void Ready(Enumeration.PriorityState priority, System.Nullable <bool> stoppable)
        {
            if (priority == Enumeration.PriorityState.Normal & sprite.IsStoppable == stoppable)
            {
                return;
            }

            spriteState.Add(Enumeration.State.ready, priority);
            sprite.PlayAnimation(spriteSequence, spriteState.Value());
        }
Ejemplo n.º 28
0
        public void Show(Enumeration.PriorityState priority, bool?stoppable)
        {
            if (priority == Enumeration.PriorityState.Normal & sprite.IsStoppable == stoppable)
            {
                return;
            }

            if (_player == true)
            {
                spriteState.Add(Enumeration.State.splash_player, priority);
            }
            else
            {
                spriteState.Add(Enumeration.State.splash_enemy, priority);
            }

            sprite.PlayAnimation(spriteSequence, spriteState);
        }
Ejemplo n.º 29
0
 public void Show(Enumeration.PriorityState priority)
 {
     Show(priority, null);
 }
Ejemplo n.º 30
0
 public void Stand(Enumeration.PriorityState priority)
 {
     Stand(priority, null);
 }