Class BaseElement
java.lang.Object
gameelement.element.BaseElement
- Direct Known Subclasses:
DewDropElement, HeartBerryElement, SparkEmberElement, StarDustElement
Base model for every selectable element used in potion recipes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseElement(String name, String imagePath) Creates an element with its display name and image resource path. -
Method Summary
Modifier and TypeMethodDescriptionGets the image resource path for this element.getName()Gets the element display name.
-
Field Details
-
name
Element display name. -
imagePath
Element image resource path.
-
-
Constructor Details
-
BaseElement
-
-
Method Details
-
getName
-
getImagePath
Gets the image resource path for this element.- Returns:
- image file path
-