コード例 #1
0
        public BeatmapThumbnailPresenter(IBeatmapThumbnailView view, IBeatmapThumbnailModel model)
        {
            _view = view;

            _model = model;
            _model.BeatmapChanged += _model_BeatmapChanged;
        }
        public CombinedBeatmapPreviewPresenter(ICombinedBeatmapPreviewView view, ICombinedBeatmapPreviewModel model)
        {
            _view  = view;
            _model = model;
            _model.BeatmapChanged += ModelOnBeatmapChanged;
            _beatmapThumbnailModel = new BeatmapThumbnailModel();
            new BeatmapThumbnailPresenter(_view.BeatmapThumbnailView, _beatmapThumbnailModel);

            MusicControlModel = new MusicControlModel();
            new MusicControlPresenter(_view.MusicControlView, MusicControlModel);
        }