Represents an object laying on the ground at an in-world coordinate (eg it is not in someone’s inventory, or in a container).
This is the parent interface for all objects.
Armour is a type of item that reduces damage received in combat.
This class may be called to determine what armour pieces another character (or your own character) have equipped.
An item that can be drank, such as a potion, and that has a positive or negative effect on the affected character.
Some items, such as potions, have a direct effect on the user of that item.
An object that exists on the ground in the world.
An object that is in a players inventory (ie unlike a GroundObject, an OwnableObject has no physical coordinates.)
A weapon is an object that can be equipped by a player, and that is used offensively in combat to deal damage to other creatures.
A character may wear multiple pieces of armour at time, one for each type or slot.
The type of effect: does it heal or hurt, increase/decrease armour, etc.
The type of the object, which can be used to determine which class it is: Armour, Weapon, or DrinkableItem.
Weapons may require one or both hands – this is not currently used by combat calculations.
Copyright © 2018 the original author or authors.