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