Beispiel #1
0
        public Armor(int id, int defenseBonus, HardnessScale armorHardness, ArmorTypeFlag armorType, int armorClass)
        {
            Id            = id;
            Name          = "EquipedArmor";
            DefenseBonus  = defenseBonus;
            ArmorHardness = armorHardness;
            ArmorTypes    = armorType;
            _armorClass   = armorClass;

            Energy = 1;
        }
Beispiel #2
0
 public Armor(int id, string name, int defenseBonus, HardnessScale armorHardness, ArmorTypes armorType)
 {
     //base();
     ID   = id;
     Name = "EquipedArmor";
     //ItemType = ItemTypes.Armor;
     ArmorName     = Name;
     DefenseBonus  = defenseBonus;
     ArmorHardness = armorHardness;
     ArmorType     = armorType;
 }
Beispiel #3
0
 public PhysicalElement(int value, HardnessScale hardness)
 {
     Value    = value;
     Hardness = hardness;
 }