Пример #1
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);
        }
Пример #2
0
        public static Attributes FromFile(string filename)
        {
            Attributes character = new Attributes();

            return character;
        }
Пример #3
0
 public MainCharacter(Attributes attributeData)
     : base(attributeData)
 {
 }