Exemplo n.º 1
0
 void IObservable <StartGameButtonPressedArgs> .Notify(StartGameButtonPressedArgs eventArgs)
 {
     if (_placeAvatarButtonPressedArgs != null)
     {
         _placeAvatarButtonPressedArgs.Invoke(this, eventArgs);
     }
 }
Exemplo n.º 2
0
 void IObserver <StartGameButtonPressedArgs> .OnNotified(object sender, StartGameButtonPressedArgs eventArgs)
 {
     (this as IObservable <StartGameButtonPressedArgs>).Notify(null);
 }
Exemplo n.º 3
0
 void IObserver <StartGameButtonPressedArgs> .OnNotified(object sender, StartGameButtonPressedArgs eventArgs)
 {
     SwitchState(StateType.Game);
 }