How do you bind an event listener from the controller to the view’s elements eg button (click event) to its own handler?
Originally I was doing this from the view eg.
button.addEventListener(MouseEvent.CLICK, controller.buttonClick);
But now realise this is wrong since reading “each view is only supposed to “know” about the model which it represents, and “know” nothing of the controller“
model should have instance of this button, so controller will access model to add event listener, but view will only show this button, only add to stage.