//constructor
 public cardController(playerController controller)
 {
     _controllerPlayer = controller;
       _model = new cardModel();
       _view = new cardView(this); //controller injecteren in view voor 2 richtingsverkeer
       flipCard();
 }
 public cardController(playerController controller) //constructor
 {
     _controllerPlayer = controller;
     _model            = new cardModel();
     _view             = new cardView(this); //controller injecteren in view voor 2 richtingsverkeer
     flipCard();
 }
Esempio n. 3
0
        public cardView(cardController controller)
        {
            _controller = controller;
            _model      = _controller.getModelCard();

            InitializeComponent();
            updateView();
        }
        public cardView(cardController controller)
        {
            _controller = controller;
              _model = _controller.getModelCard();

              InitializeComponent();
              updateView();
        }