Class Armor


public class Armor extends Equipment
Armor on a character.
Since:
2016-01-17
  • Field Details

    • armorType

      Armor.Type armorType
      Type of armor.
    • baseArmor

      int baseArmor
      Base armor points added.
  • Constructor Details

    • Armor

      Armor(Armor.Type armorType, Equipment.Material material, int baseArmor, float weight, int magicBonus)
      Full constructor
    • Armor

      Armor(Armor a)
      Copy constructor
  • Method Details

    • getArmorType

      public Armor.Type getArmorType()
    • getBaseArmor

      public int getBaseArmor()
    • isMetal

      public boolean isMetal()
      Is this armor made of metal?
    • makeType

      public static Armor makeType(Armor.Type type)
      Create a new armor of a given type.