예제 #1
0
        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();
        }
예제 #2
0
        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;
        }
예제 #3
0
        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);
        }
예제 #4
0
        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;
        }
예제 #5
0
        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();
        }