public void RequestUpdate(SystemView view) { if (_model != null) { _model.UpdateModel(_view.Ram, _view.Disk, _view.CpuSpeed); } }
public void RemoveObserver(SystemView view) { views.Remove(view); }
public void AddObserver(SystemView view) { views.Add(view); }
public SystemController(SystemModel model, SystemView view) { _model = model; _view = view; }