public void Attack(object target) { AttackStrategy?.Attack(target); }
public void Attack() { AttackStrategy.Attack(); }
//Attacks with current attack strategy. public void Attack() { Console.Write("{0} {1} ", charType, name); attackStrategy.Attack(); }