//Performs the attack behavior. Virtual means this method can be overridden by a subclass. public virtual void DoAttack() { AttackBehavior.Attack(); }
private void Figth(HealthBehaviour health) { AttackBehavior.Attack(health, Idle); StateCurrent = State.Figth; }
public void HandleAttack() { attackBehavior.Attack(); }
public virtual void PerformAttack(ICharacter target) { AttackBehavior.Attack(this, target); }
public void PerformAttack() { attackBehavior.Attack(); }