示例#1
0
        public Game(List<CellContent> cells)
        {
            Id = Guid.NewGuid();
            CellContents = new List<CellContent>(cells);
            GameState = new GameState();
            Players = new List<Player>();

            // Save to DB
            GameCards = new List<GameCard>();
        }
示例#2
0
 public void SetState(GameState state)
 {
     //??
     State = state;
 }