Exemple #1
1
        public GameController()
        {
            Random temp = new Random();
            _model = new LetterModel(woorden[temp.Next(0,woorden.Count-1)]);

            this._view = new GameView(this);

            this._input = new InputController(this._model);
        }
Exemple #2
0
 public InputView(InputController i, LetterModel m)
 {
     InitializeComponent();
     this.model = m;
     this.controller = i;
     foreach (char item in model.Woord.ToCharArray())
     {
         hiddenWord += "_ ";
     }
 }
Exemple #3
0
 public InputController(LetterModel m)
 {
     this._view = new InputView(this,m);
     this._model = m;
 }