public HeavyActionDistributor(IGameLoopController gameLoopController) { _gameLoopController = gameLoopController; _actionsQueue = new Queue <Action>(); _gameLoopController.Updated += UpdateHandler; }
public AttackAction( IGameLoopController gameloopController, IBaseActionController baseActionController) { _gameloopController = gameloopController; _baseActionController = baseActionController; _delayTime = 1.5f; }
public CameraController( Camera camera, IGameLoopController gameLoopController) { _camera = camera; _gameLoopController = gameLoopController; _yPosition = 15; }
public OneUnitAnimationController(IUnitSettings unitSettings, IGameLoopController gameLoopController) { _unit = unitSettings.GraphicObject; _unitScript = _unit.GetComponentInChildren(typeof(IUnitScript)) as IUnitScript; _gameLoopController = gameLoopController; }
public IdleAction(IGameLoopController gameloopController) { _gameloopController = gameloopController; delayTime = UnityEngine.Random.Range(1.0f, 5.0f); }
public void Initialize(Camera camera, IGameLoopController gameLoopController, int yPosition = 15) { _camera = camera; _yPosition = yPosition; _gameLoopController = gameLoopController; }
public void DisposeInternal() { _gameloopController = null; _baseActionController = null; base.DisposeInternal(); }