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