Beispiel #1
0
 public Mage(IWeapon staff, IKnife knife)
     : base(HeroColor.darkBlue, knife)
 {
     this.Intelligence  = MageIntelligence;
     this.SpecialEnergy = MageSpecialEnergy;
     this.Weapon        = staff;
 }
Beispiel #2
0
 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;
 }
Beispiel #4
0
 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;
 }
Beispiel #5
0
 public FakeAbstractHero(HeroColor heroColor, IKnife knife)
     : base(heroColor, knife)
 {
 }
Beispiel #6
0
        public IKnife OrderKnife(String knifeType)
        {
            IKnife knife = CreateKnife(knifeType);

            return(knife);
        }
Beispiel #7
0
 public IHunter CreateHunter(IBow bow, IKnife knife)
 {
     return(new Hunter(bow, knife));
 }
Beispiel #8
0
 public IWarrior CreateWarrior(IMace mace, IKnife knife)
 {
     return(new Warrior(mace, knife));
 }
Beispiel #9
0
 public IMage CreateMage(IStaff staff, IKnife knife)
 {
     return(new Mage(staff, knife));
 }