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; }
/// <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); }