Ejemplo n.º 1
0
 public GameEngine(ChessView main)
 {
     Board            = new Board(this);
     moves            = new Stack <Move>();
     prevHashes       = new Stack <long>();
     CurrentTurn      = PieceColor.White;
     WhiteHumanPlayer = true;
     progress         = new Stack <int>();
     chessView        = main;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// LoadContent will be called once per game and is the place to load
 /// all of your content.
 /// </summary>
 protected override void LoadContent()
 {
     // TODO: use this.Content to load your game content here
     chessView = new ChessView(chessModel, Content, GraphicsDevice);
 }