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