-
Notifications
You must be signed in to change notification settings - Fork 2
Items
DeatHunter edited this page Apr 17, 2020
·
1 revision
Items is an abstract class.
All of the items that inherit from this class should have these mutual attributes:
String. The unique ID of the item.
String. The name of the item.
String. The description shown on the tooltip when hovering over the item with the mouse.
Image. The texture of the item.
Weapon is an abstract class that inherits from Item.
All of the items that inherit from this class should have these mutual attributes:
Ranged is a class that inherits from Weapon.
The Ranged class has the following unique attributes:
The Melee class has the following unique attributes:
Each item type shares a type attribute, which is a string representing the type of item it is.