예제 #1
0
        public Yahtzeeview(YahtzeeController c)
        {
            InitializeComponent();
            controller = c;

            controller.model.MaximumAantalWorpen = 3;
            maxAantalWorpenLbl.Text = controller.model.MaximumAantalWorpen.ToString();
        }
예제 #2
0
        public Yahtzeeview(YahtzeeController c)
        {
            InitializeComponent();
            controller = c;

            controller.model.MaximumAantalWorpen = 3;
            maxAantalWorpenLbl.Text = controller.model.MaximumAantalWorpen.ToString();
        }
예제 #3
0
        internal void Initialize()
        {
            teerlingController = new TeerlingController();
            yahtzeeController  = new YahtzeeController();
            scoreController    = new ScoreController();

            yahtzeeController.model.AantalTeerlingen    = 3;
            yahtzeeController.model.MaximumAantalWorpen = 3;
        }