コード例 #1
0
 public StateTileElement(Enumeration.StateTile state, Enumeration.PriorityState priority__1)
 {
     _state   = state;
     Priority = priority__1;
     Reverse  = Enumeration.SequenceReverse.Normal;
     OffSet   = Vector2.Zero;
 }
コード例 #2
0
 public StateElement(Enumeration.State state)
 {
     _state         = state;
     _priorityState = Enumeration.PriorityState.Normal;
     _reverse       = Enumeration.SequenceReverse.Normal;
     _offset        = Vector2.Zero;
 }
コード例 #3
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, Enumeration.SequenceReverse reverse)
 {
     _state         = state;
     _priorityState = priority;
     _reverse       = reverse;
     _offset        = Vector2.Zero;
 }
コード例 #4
0
 public StatePlayerElement(Enumeration.State state, Enumeration.PriorityState priority, Enumeration.SequenceReverse reverse)
 {
     _state   = state;
     Priority = priority;
     Reverse  = reverse;
     OffSet   = Vector2.Zero;
 }
コード例 #5
0
 public StateElement(Enumeration.State state, Enumeration.PriorityState priority, Enumeration.SequenceReverse reverse)
 {
     _state = state;
     _priorityState = priority;
     _reverse = reverse;
     _offset = Vector2.Zero;
 }
コード例 #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;
 }
コード例 #7
0
 public StateElement(Enumeration.State state)
 {
     _state = state;
     _priorityState = Enumeration.PriorityState.Normal;
     _reverse = Enumeration.SequenceReverse.Normal;
     _offset = Vector2.Zero;
 }
コード例 #8
0
 public StatePlayerElement(Enumeration.State state, Enumeration.PriorityState priority, Vector2 offSet)
 {
     _state   = state;
     Priority = priority;
     Reverse  = Enumeration.SequenceReverse.Normal;
     OffSet   = offSet;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #18
0
 public StatePlayerElement(Enumeration.State state, Enumeration.PriorityState priority, bool?stoppable)
 {
     _state    = state;
     Priority  = priority;
     Stoppable = stoppable;
     Reverse   = Enumeration.SequenceReverse.Normal;
     OffSet    = Vector2.Zero;
 }
コード例 #19
0
 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;
 }
コード例 #20
0
        public void Add(Enumeration.StateTile state, Enumeration.PriorityState priority)
        {
            if (data.Count == iSize)
            {
                data.Dequeue();
            }

            data.Enqueue(new StateTileElement(state, priority));
        }
コード例 #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));
        }
コード例 #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));
        }
コード例 #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));
        }
コード例 #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));
        }
コード例 #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));
        }
コード例 #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));
        }
コード例 #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());
        }
コード例 #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);
        }
コード例 #29
0
 public void Show(Enumeration.PriorityState priority)
 {
     Show(priority, null);
 }
コード例 #30
0
 public void Stand(Enumeration.PriorityState priority)
 {
     Stand(priority, null);
 }