Exemplo n.º 1
0
        private void btnSinglePlayer_Click(object sender, EventArgs e)
        {
            IModel model = new ModelGame();

            fg = new FormGame(this);
            IController ctrl = new ControllerSinglePlayer(model, fg);

            fg.GameController = ctrl;
            fg.Opacity        = 0;
            fg.Show();

            _tSinglePlayer.Enabled = true;
        }
Exemplo n.º 2
0
        private void btnHotseat_Click(object sender, EventArgs e)
        {
            IModel model = new ModelGame();

            fg = new FormGame(this);
            IController ctrl = new ControllerHotseat(model, fg);

            fg.GameController = ctrl;
            fg.Opacity        = 0;

            fg.Show();

            _tHotseat.Enabled = true;
        }