Ejemplo n.º 1
0
 public SingleTileMapEditorTool(ISingleTileMapEditorToolDelegate @delegate,
                                IGridCellHighlightPool gridCellHighlightPool,
                                IGridInputManager gridInputManager)
 {
     _delegate = @delegate;
     _gridCellHighlightPool = gridCellHighlightPool;
     _gridInputManager      = gridInputManager;
 }
 public GridVisualizer(IGrid grid,
                       IGridPositionCalculator gridPositionCalculator,
                       IGridCellHighlightPool cellHighlightPool,
                       IDebugSettings debugSettings)
 {
     _grid = grid;
     _positionCalculator = gridPositionCalculator;
     _cellHighlightPool  = cellHighlightPool;
     _debugSettings      = debugSettings;
 }
Ejemplo n.º 3
0
 public UnitDestinationSelector(IGridUnitManager gridUnitManager,
                                IGridInputManager gridInputManager,
                                IGridPositionCalculator gridPositionCalculator,
                                IGridCellHighlightPool gridCellHighlightPool,
                                ILogger logger)
 {
     _gridUnitManager        = gridUnitManager;
     _gridInputManager       = gridInputManager;
     _gridPositionCalculator = gridPositionCalculator;
     _gridCellHighlightPool  = gridCellHighlightPool;
     _logger     = logger;
     _validTiles = new HashSet <IntVector2>();
 }
Ejemplo n.º 4
0
 public GridCellHighlighter(IGridInputManager gridInputManager,
                            IGridCellHighlightPool gridCellHighlightPool)
 {
     _gridInputManager      = gridInputManager;
     _gridCellHighlightPool = gridCellHighlightPool;
 }