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