Package com.mg105.entities.items
Class UpgradeToken
java.lang.Object
com.mg105.entities.Item
com.mg105.entities.items.UpgradeToken
- All Implemented Interfaces:
Consumable
An item that is used upgrade a characters stat
One upgrade token boosts every stat of a single character
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
UpgradeToken
public UpgradeToken()Creates a new instance of upgrade token
-
-
Method Details
-
consume
Upgrades the stats of the given character- Specified by:
consume
in interfaceConsumable
- Parameters:
state
- the state of the gamecharacterName
- the name of the character to use the item on
-