Package redempt.redlib.enchants
Class EnchantInfo
java.lang.Object
redempt.redlib.enchants.EnchantInfo
Represents a CustomEnchant and level
-
Constructor Summary
ConstructorDescriptionEnchantInfo
(CustomEnchant ench, int level) Constructs an EnchantInfo from a CustomEnchant and level -
Method Summary
-
Constructor Details
-
EnchantInfo
Constructs an EnchantInfo from a CustomEnchant and level- Parameters:
ench
- The CustomEnchantlevel
- The level
-
-
Method Details
-
getLevel
public int getLevel()- Returns:
- The level stored in this EnchantInfo
-
getEnchant
- Returns:
- The CustomEnchant stored in this EnchantInfo
-