//Ovo takodje menjao public Controller(/*IModel model,*/ IModel2 modelImage, IModel2 modelSound, IView view) { //m_model = model; m_model_image = modelImage; m_model_sound = modelSound; m_view = view; m_view.AddListener(this); }
public JornalPresenter() { _view = new JornalView(); _view.AddListener(ChoiceHandler); }
public JornalStorageMenuPresenter() { _view = new JornalStorageMenuView(); _view.SetData(_storage); _view.AddListener(ChoiceHandler); }
public NewsPaperStorageMenuPresenter() { _view = new NewsPaperStorageMenuView(); _view.SetData(_storage); _view.AddListener(ChoiceHandler); }
public TestController(IModel m, IView v) { myView = v; myModel = m; v.AddListener(this); }
public MainMenuPresenter() { _view = new MainMenuView(); _view.AddListener(ChoiceHandler); }
public NewsPaperPresenter() { _view = new NewsPaperView(); _view.AddListener(ChoiceHandler); }
public BookPresenter() { _view = new BookView(); _view.AddListener(ChoiceHandler); }
public Controller(IView view) { _view = view; _view.AddListener(this); }