public MainPresenter(IMainView view, IElectricSystem electricSystem) { _view = view; _electricSystem = new VisualElectricSystem(electricSystem); _view.InputDetected += OnCanvasInput; }
public VisualElectricSystem(IElectricSystem system) { _system = system; Drawables = new DrawableCollection(); }
public VisualElectricSystem(IElectricSystem system) { _system = system; Drawables = new DrawableCollection(); }