Ejemplo n.º 1
0
        public PawnGameDialog(TutorialOneScreen parentScreen, PawnGame pawnGame)
        {
            InitializeComponent();

            this.parentScreen = parentScreen;
            this.pawnGame = pawnGame;
            this.gameController = new GameController(false, pawnGame.GetPosition(), false, false);

            this.gameController.RaiseControllerEvent += new EventHandler<ControllerEvent>(gameController_MoveText);
            this.parentScreen.BoardArea.Content = this.gameController.board;
        }