Package com.mg105.entities
Class Item
java.lang.Object
com.mg105.entities.Item
- Direct Known Subclasses:
HealthPotion
,MegaPotion
,UpgradeToken
An item represents something that can be used in some manner to change something about the game environment
Items can be used on characters, change something about a battle, or alter something else about the game.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Item
Creates a new instance of item- Parameters:
name
- the name of the item
-
-
Method Details
-
getName
Returns the name of this item- Returns:
- the name of this item
-