public FlyToPlayerBehaviour(Transform target, Transform thisEnemy, EnemyStats enemyStats, EnemyActingCounters counters) { _startMoveSpeed = enemyStats.GetMoveSpeed(); _target = target; _thisBody = thisEnemy; _startYPosition = _thisBody.position.y + 1f; _actingTime = counters.ActingTime; _maxTimeToAct = counters.MaxTimeToAct; _currentMoveSpeedMultiplier = 1f; _moveSpeedMultiplier = counters.ModifyingValueMultiplier; }
public EnemyAttackerOnPlaceBehaviour(Transform target, Transform thisEnemy, Transform startArrowPoint, EnemyStats enemyStats, EnemyActingCounters counters, EnemyArrowData enemyArrowData) { _target = target; _thisBody = thisEnemy; _maxTimeToAct = counters.MaxTimeToAct; _attackDamage = enemyStats.GetAttackDamage(); _enemyArrowData = enemyArrowData; _startArrowPoint = startArrowPoint; }