Пример #1
0
        private void Init()
        {
            _clientLogic.Client.OnReceiveMessageEvent += ReceivedMessageFromClient;

            CurrentPlayer = new Player(Login);

            _table = new ClientLibrary.Table();
            _table.AddPlayer(CurrentPlayer);
        }
Пример #2
0
        private void Init()
        {
            _cardsToFold = new List <HandCard>();

            MyHand = new PlayerHandViewModel(true, CurrentPlayer);
            _clientLogic.Client.OnReceiveMessageEvent += ReceivedMessageFromClient;

            CurrentPlayer = new Player(Login);

            _table = new ClientLibrary.Table();
            _table.AddPlayer(CurrentPlayer);
        }