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