public BatchUnitSelectionDetector(EventSystem eventSystem, ISelectionBox selectionBox, IGridPositionCalculator gridPositionCalculator, IGridUnitManager gridUnitManager) { _eventSystem = eventSystem; _selectionBox = selectionBox; _gridPositionCalculator = gridPositionCalculator; _gridUnitManager = gridUnitManager; }
public SelectionObserver(IDisposable observer, ISelectionBox selectionBox) { _observer = observer; _selectionBox = selectionBox; }
public SelectionObservable(IObservable <IUnit[]> observable, ISelectionBox selectionBox) { _observable = observable; _selectionBox = selectionBox; }