Esempio n. 1
0
 public void AddNewSubstate(ActorState newState)
 {
     _executingStateStack.Push(newState);
 }
Esempio n. 2
0
 public StateStack(Actor myActor, GameWorld owner, ActorState initialState)
     : base(owner)
 {
     _myActor = myActor;
     _executingStateStack.Push(initialState);
 }