public interface Upgrade
Modifier and Type | Method and Description |
---|---|
int |
getMaxUpgradeLevel()
Get the maximum level that exists for the upgrade.
|
java.lang.String |
getName()
Get the name of the upgrade.
|
int |
getSlot()
Get the slot the upgrade is in the upgrades menu.
|
UpgradeLevel |
getUpgradeLevel(int level)
Get the upgrade-level object from a level.
|
void |
setSlot(int slot)
Set the slot the upgrade is in the upgrades menu.
|
java.lang.String getName()
UpgradeLevel getUpgradeLevel(int level)
level
- The level to get the object from.int getMaxUpgradeLevel()
int getSlot()
void setSlot(int slot)
slot
- The slot to set the upgrade item in.