Beispiel #1
0
 public virtual void fight()
 {
     style.useWeapon();
 }
 public void fight()
 {
     weapon.useWeapon();
 }
Beispiel #3
0
 public void setWeapon(WeaponBehavior w)
 {
     this.weapon = w;
     w.useWeapon();
 }