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