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