Beispiel #1
0
        private Entity()
        {
            Strength = 0;
            Dexterity = 0;
            Cunning = 0;
            Willpower = 0;
            Magic = 0;
            Constitution = 0;

            health = new StatusBar(0);
            stamina = new StatusBar(0);
            mana = new StatusBar(0);
        }
Beispiel #2
0
        public Entity(Attributes attributeData)
        {
            characterType = attributeData.EntityName;
            Strength = attributeData.Strength;
            Dexterity = attributeData.Dexterity;
            Cunning = attributeData.Cunning;
            Willpower = attributeData.Willpower;
            Magic = attributeData.Magic;
            Constitution = attributeData.Constitution;

            health = new StatusBar(0);
            stamina = new StatusBar(0);
            mana = new StatusBar(0);
        }