wyvern.lib.classes.random
Class WeaponEnchanter.WeaponEnchantment
java.lang.Object
wyvern.lib.classes.random.WeaponEnchanter.WeaponEnchantment
- Enclosing class:
- WeaponEnchanter
- public static class WeaponEnchanter.WeaponEnchantment
- extends java.lang.Object
A class to encapsulate an enchantment.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeaponEnchanter.WeaponEnchantment
public WeaponEnchanter.WeaponEnchantment(java.lang.String type,
int value)
- Constructs a new WeaponEnchantment
- Parameters:
type
- the enchantment type, e.g. "dodge"value
- the enchantment value, 1-10
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getValue
public int getValue()
setValue
public void setValue(int value)