// Handle commands and state changes here. #region Public Methods public void Attack(Attack attackData, float cooldownDuration) { _actionState.Attack(attackData); _cooldownState.Cooldown(this, cooldownDuration); }
// Handle commands and state changes here. #region Public Methods public void Attack(Attack attackData, float cooldownDuration) { _actionState.Attack(attackData); _cooldownState.Cooldown(this, cooldownDuration); }