public HexDebugHighlights(ISelectionManager SelectionManager, IHexHighlighter HexHighlighter) { this.SelectionManager = SelectionManager; this.HexHighlighter = HexHighlighter; SelectionManager.HexSelected += OnHexSelected; SelectionManager.HexUnselected += OnHexUnselected; }
public TurnOwnerHighlight(ITurnManager TurnManager, IHexHighlighter HexHighlighter, IUnitMovementManager UnitMovementManager) { this.HexHighlighter = HexHighlighter; this.TurnManager = TurnManager; this.UnitMovementManager = UnitMovementManager; TurnManager.TurnStarted += OnTurnStarted; TurnManager.TurnEnded += OnTurnEnded; UnitMovementManager.UnitPositionChange += OnUnitPositionChange; UnitMovementManager.UnitPositionChangeEnd += OnUnitPositionChangeEnd; }
public UnitHexHighlights(IMouseInputManager UserInputManager, IHexHighlighter HexHighlighter, IUnitSelectionManager UnitSelectionManager, IHexDatabase HexDatabase, IUnitAttackManager UnitAttackManager) { this.UnitSelectionManager = UnitSelectionManager; this.HexHighlighter = HexHighlighter; this.UserInputManager = UserInputManager; this.HexDatabase = HexDatabase; this.UnitAttackManager = UnitAttackManager; UnitSelectionManager.UnitSelected += UnitSelected; UnitSelectionManager.UnitUnselected += UnitUnselected; UserInputManager.HexUnderMouseChanged += OnHexUnderMouseChanged; }
public SelectableHexHighlights(IMouseInputManager UserInputManager, ISelectionManager SelectionManager, IHexHighlighter HexHighlighter, ITurnManager TurnManager) { this.UserInputManager = UserInputManager; this.HexHighlighter = HexHighlighter; this.SelectionManager = SelectionManager; this.TurnManager = TurnManager; SelectionManager.HexSelected += OnHexSelected; SelectionManager.HexUnselected += OnHexUnselected; SelectionManager.SelectableSelected += SelectableSelected; SelectionManager.SelectableUnselected += OnSelectableUnselected; UserInputManager.HexPressedDown += OnHexPressedDown; UserInputManager.MouseReleased += OnMouseReleased; UserInputManager.HexUnderMouseChanged += OnHexUnderMouseChanged; }
public HexDebugger(IMouseInputManager UserInputManager, IHexHighlighter HexHighlighter) { this.UserInputManager = UserInputManager; this.HexHighlighter = HexHighlighter; }