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