Пример #1
0
        //armor (clothes)
        //weapon, shield
        //items (belt, necklace, rings)

        public Character(string thisName)
        {
            name         = thisName;
            gender       = "male";
            health       = 100;
            healthMax    = 100;
            stamina      = 75;
            staminaMax   = 100;
            strength     = 10;
            dexterity    = 10;
            constitution = 10;
            endurance    = 10;
            charisma     = 10;
            intelligence = 10;

            abilities = new SpecialAbilityList(new Slash());
            inventory = new Inventory();
            inventory.addItem(new HealthPotion());
        }
Пример #2
0
        //armor (clothes)
        //weapon, shield
        //items (belt, necklace, rings)
        public Character(string thisName)
        {
            name = thisName;
            gender = "male";
            health = 100;
            healthMax = 100;
            stamina = 75;
            staminaMax = 100;
            strength = 10;
            dexterity = 10;
            constitution = 10;
            endurance = 10;
            charisma = 10;
            intelligence = 10;

            abilities = new SpecialAbilityList(new Slash());
            inventory = new Inventory();
            inventory.addItem(new HealthPotion());
        }