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