Exemplo n.º 1
0
 protected virtual void OnAddState(AGameState newState)
 {
     AddState?.Invoke(this, newState);
 }
Exemplo n.º 2
0
 public void OnAddState(object source, GameStates.AGameState args)
 {
     _states.Push(args);
     _states.Peek().MustPop  += this.OnMustPop;
     _states.Peek().AddState += this.OnAddState;
 }