Interface IElementValue
- All Known Implementing Classes:
BattleMageArmorItem,SageArmorItem,SpectralDustItem,WandItem,WarlockArmorItem,WizardArmorItem
public interface IElementValue
Interface for items that have an associated element value. This is typically used for items that can store or
manipulate elemental things, like wands, armor, and other magical items.
-
Method Summary
Modifier and TypeMethodDescriptionGets the element associated with this item.booleanDetermines if this item is valid for use in a receptacle.
-
Method Details
-
getElement
Element getElement()Gets the element associated with this item.- Returns:
- The element of the item.
-
validForReceptacle
boolean validForReceptacle()Determines if this item is valid for use in a receptacle.- Returns:
- true if the item can be used in a receptacle, false otherwise.
-