示例#1
0
 private void GameManager_OnGameChanged(object sender, OnInGameEventArgs e)
 {
     RefreshGameUI();
     GameServiceProxy.InGame(new InGameRequest {
         UserOpponent = ChosenContact.UserName, SlotIdSource = e.SlotIdSource, SlotIdDestination = e.SlotIdDestination
     });
 }
示例#2
0
 private void GameServiceProxy_OnInGame(object sender, OnInGameEventArgs e)
 {
     slotClicked(new Slot {
         Id = e.SlotIdSource
     }, EventArgs.Empty);
     slotClicked(new Slot {
         Id = e.SlotIdDestination
     }, EventArgs.Empty);
 }