private void Yahtzee_Load(object sender, EventArgs e) { //toevoegen scorebord //toevoegen all button en restart AllController yahtzee = new AllController(); AllView AllView = yahtzee.getView(); AllView.Location = new Point(0, 60); yahtzee.initialize(); Controls.Add(AllView); }
// constructor public AllController() { _view = new AllView(this); _model = new AllModel(); }
public AllController(List<TeerlingController> huidigeteerlingen, ScoreController scoreControl) { _view = new AllView(this, huidigeteerlingen); _model = new AllModel(); _scorecontrol = scoreControl; }