private void Init() { _clientLogic.Client.OnReceiveMessageEvent += ReceivedMessageFromClient; CurrentPlayer = new Player(Login); _table = new ClientLibrary.Table(); _table.AddPlayer(CurrentPlayer); }
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); }