Пример #1
0
 public ViewManager(ClientGameBoard gameBoard)
 {
     GameBoard  = gameBoard;
     ViewWidth  = gameBoard.GameModel.Client().GameBoardLayout.Width;
     ViewHeight = gameBoard.GameModel.Client().GameBoardLayout.Height;
     PaddingBox = new Size(100, 100);
 }
 public ClientPegPhysicsManager(ClientGameBoard gameBoard, bool shouldDraw)
     : base(gameBoard)
 {
     ShouldDraw     = shouldDraw;
     this.GameBoard = gameBoard;
 }