public TableState(TableDetails tblDetails, SortedDictionary<int, PlayerDetails> playerDetails)
 {
     TableId = tblDetails.TableId;
     GameType = tblDetails.GameType;
     PlayerDetails = new PlayerDetails[4];
     foreach (var p in playerDetails)
     {
         PlayerDetails[p.Key] = p.Value;
     }
 }
 public void AddTable(TableDetails table)
 {
     _tables.Add(table.TableId, new SortedDictionary<int, PlayerDetails>());
     _tableDetails.Add(table.TableId, table);
 }