public void InjectDependencies( UIStateMachineBrain brain, IMapComposer mapComposer, IVisibilityResponder visibilityResponder, IVisibilityCanon visibilityCanon, IExplorationCanon explorationCanon, IGameCore gameCore, IUnitMapIconManager unitMapIconManager, List <IPlayModeSensitiveElement> playModeSensitiveElements ) { Brain = brain; MapComposer = mapComposer; VisibilityResponder = visibilityResponder; VisibilityCanon = visibilityCanon; ExplorationCanon = explorationCanon; GameCore = gameCore; UnitMapIconManager = unitMapIconManager; PlayModeSensitiveElements = playModeSensitiveElements; }
public void InjectDependencies( UIStateMachineBrain brain, IHexGrid grid, IMapComposer mapComposer, ICivilizationFactory civFactory, IPlayerFactory playerFactory, IVisibilityResponder visibilityResponder, IVisibilityCanon visibilityCanon, IExplorationCanon explorationCanon, List <IPlayModeSensitiveElement> playModeSensitiveElements, ICivilizationConfig civConfig, IBrainPile brainPile, IUnitMapIconManager unitMapIconManager ) { Brain = brain; Grid = grid; MapComposer = mapComposer; CivFactory = civFactory; PlayerFactory = playerFactory; VisibilityResponder = visibilityResponder; VisibilityCanon = visibilityCanon; ExplorationCanon = explorationCanon; PlayModeSensitiveElements = playModeSensitiveElements; CivConfig = civConfig; BrainPile = brainPile; UnitMapIconManager = unitMapIconManager; }