Exemplo n.º 1
0
 public Character()
 {
     CharacterName = GetType().ToString().Replace("StrategyPattern.CharacterTypes.", "");
     Weapon = new StaffAttack();
     Magic = new NoMagicUser();
 }
Exemplo n.º 2
0
 protected void SetWeapon(WeaponBehavior weapon)
 {
     Weapon = weapon;
 }
 public void setWeapon(WeaponBehavior wp)
 {
     this.weapon = wp;
 }