public BeatController(IBeatModelInterface model) { this.model = model; view = new DJView(this, model); //the controller is passed the model and creates the view view.createView(); view.createControls(); model.initialize(); }
public BPMController(IBPMModelInterface model) { this.model = model; view = new DJView(model, this); }