public ThreatReactionManager(AutoActionController autoActionController) { _threatValues = new Dictionary <Transform, float>(); _currentTarget = null; _autoActionController = autoActionController; }
public EnemyCharacterController() : base() { _statusEventDispatcher = new StatusEventDispatcher(); _displayController = new DisplayController(); _motionEngine = new MotionEngine(); _healthManager = new HealthManager(_statusEventDispatcher, _displayController); _autoActionController = new AutoActionController(_motionEngine, _displayController, _statusEventDispatcher); _threatReactionManager = new ThreatReactionManager(_autoActionController); }
public PlayerCharacterController() : base() { _isActive = false; _blockAction = false; _statusEventDispatcher = new StatusEventDispatcher(); _motionEngine = new MotionEngine(); _displayController = new DisplayController(); _healthManager = new HealthManager(_statusEventDispatcher, _displayController); _selectionHandler = new SelectionHandler(_statusEventDispatcher); _fieldMovementController = new FieldMovementController(_motionEngine, _displayController, _statusEventDispatcher); _autoActionController = new AutoActionController(_motionEngine, _displayController, _statusEventDispatcher); _stageMotionEngine = new StageMotionEngine(_displayController); }