示例#1
0
 public Board(
     int boardSize,
     GameController gameController,
     BoardComponent boardController,
     PieceFactory pieceFactory)
 {
     BoardSize            = boardSize;
     pieces               = new Piece[boardSize, boardSize];
     this.gameController  = gameController;
     this.boardController = boardController;
     this.pieceFactory    = pieceFactory;
 }
示例#2
0
 public void Construct(BoardComponent boardComponent, HudController hudController)
 {
     this.boardComponent = boardComponent;
     this.hudController  = hudController;
 }