public Yahtzeeview(YahtzeeController c) { InitializeComponent(); controller = c; controller.model.MaximumAantalWorpen = 3; maxAantalWorpenLbl.Text = controller.model.MaximumAantalWorpen.ToString(); }
internal void Initialize() { teerlingController = new TeerlingController(); yahtzeeController = new YahtzeeController(); scoreController = new ScoreController(); yahtzeeController.model.AantalTeerlingen = 3; yahtzeeController.model.MaximumAantalWorpen = 3; }