Пример #1
0
 public Cell GetCell(Coordinate coordinate)
 {
     return(BoardState.Find(c => c.X == coordinate.X && c.Y == coordinate.Y));
 }
Пример #2
0
 public GameBoard(Game1 game)
 {
     this.game = game;
     state     = new BoardState();
     ScreenSizeChanged(Game1.ScreenWidth, Game1.ScreenHeight);
 }