private void setBasicBlackMageArmor() { /* start getBasicBlackMageArmor */ Armor[] set = new Armor[Armor.MAXARMOR]; mArmorSet[(int)ArmorEnum.HEAD] = WeTriedHat(); mArmorSet[(int)ArmorEnum.CHEST] = WeTriedRobe(); mArmorSet[(int)ArmorEnum.GLOVES] = WeTriedGloves(); mArmorSet[(int)ArmorEnum.FEET] = WeTriedShoes(); }
public Enemy( Armor[] armor, string name, int[] stats, Weapon weapon, int experienceWorth, AI ai, EnemyType type ) : base(armor, name, stats, weapon, ai) { /* start constructor */ mExperienceWorth = experienceWorth; mAI = ai; mIsPlayer = false; mType = type; mAI.Enemy = this; }
public PlayerCharacter( Armor[] armor, string name, int[] stats, Weapon weapon, LevelTract pclass, ClassEnum classes ) : base(armor, name, stats, weapon, pclass) { /* start constructor */ mExperience = 1000; mClass = pclass; mIsPlayer = true; mClassEnum = classes; mClass.LevelUp(1); }
protected Character( Armor[] armor, string name, int[] stats, Weapon weapon, AbilitiesHolder abilities) { /* start constructor */ mArmor = armor; mName = name; mStats = stats; mWeapon = weapon; mAbilities = abilities; mHealth = this.MaximumHealth; mMana = this.MaximumMana; }
private void setBasicWarriorArmor() { /* start getBasicWarriorArmor */ Armor[] set = new Armor[Armor.MAXARMOR]; mArmorSet[(int)ArmorEnum.HEAD] = WeTriedHelm(); mArmorSet[(int)ArmorEnum.CHEST] = WeTriedPlate(); mArmorSet[(int)ArmorEnum.GLOVES] = WeTriedGauntlets(); mArmorSet[(int)ArmorEnum.FEET] = WeTriedBoots(); }