Пример #1
0
        private void refreshRoom(OnlineRoom receivedRoom)
        {
            if (receivedRoom == null)
            {
                return;
            }

            checkPlayerHand(receivedRoom.PlayerWithID(api.LocalUser.Value.ID).Hand.Cards);

            foreach (var card in localPlayer.Hand.Cards)
            {
                //playerCards.Add(); // Hacer CardContainer
            }
        }
Пример #2
0
 private void checkPlayerHand(OnlineRoom room)
 {
     checkCards(room.PlayerWithID(api.LocalUser.Value.ID).Hand.Cards);
     checkTokens(room.PlayerWithID(api.LocalUser.Value.ID).Hand.Tokens);
 }