public Mage(IWeapon staff, IKnife knife) : base(HeroColor.darkBlue, knife) { this.Intelligence = MageIntelligence; this.SpecialEnergy = MageSpecialEnergy; this.Weapon = staff; }
public Hunter(IWeapon bow, IKnife knife) : base(HeroColor.red, knife) { this.Agility = HunterAgilityValue; this.SpecialEnergy = HunterSpecialEnergyValue; this.Weapon = bow; }
public Warrior(IWeapon mace, IKnife knife) : base(HeroColor.magenta, knife) { this.Strength = WarriorStrngthValue; this.SpecialEnergy = WarriorSpecialEnergyValue; this.Weapon = mace; }
public Hero(HeroColor heroColor, IKnife knife) { this.PositionX = HeroStartingXPosition; this.PositionY = HeroStartingYPosition; this.Name = HeroName; this.Hp = HP; this.Level = LEVEL; this.Exp = EXP; this.WeaponSecond = knife; this.heroColor = heroColor; }
public FakeAbstractHero(HeroColor heroColor, IKnife knife) : base(heroColor, knife) { }
public IKnife OrderKnife(String knifeType) { IKnife knife = CreateKnife(knifeType); return(knife); }
public IHunter CreateHunter(IBow bow, IKnife knife) { return(new Hunter(bow, knife)); }
public IWarrior CreateWarrior(IMace mace, IKnife knife) { return(new Warrior(mace, knife)); }
public IMage CreateMage(IStaff staff, IKnife knife) { return(new Mage(staff, knife)); }