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