Class UIElement
- java.lang.Object
-
- net.egartley.beyondorigins.core.abstracts.Renderable
-
- net.egartley.beyondorigins.core.ui.UIElement
-
- All Implemented Interfaces:
Tickable
- Direct Known Subclasses:
DialoguePanel
,GenericButton
,NotificationBanner
,PlayerInventory
,PlayerInventorySlot
,QuestsPanel
,QuestsSidePanel
public abstract class UIElement extends Renderable implements Tickable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isClickInBounds(int cx, int cy)
void
render(org.newdawn.slick.Graphics graphics)
void
tick()
-
Methods inherited from class net.egartley.beyondorigins.core.abstracts.Renderable
setPosition, x, x, y, y
-
-
-
-
Constructor Detail
-
UIElement
public UIElement(org.newdawn.slick.Image image)
-
UIElement
public UIElement(org.newdawn.slick.Image image, boolean enabled)
-
UIElement
public UIElement(int size)
-
UIElement
public UIElement(int width, int height)
-
UIElement
public UIElement(int width, int height, boolean enabled)
-
-
Method Detail
-
render
public void render(org.newdawn.slick.Graphics graphics)
- Specified by:
render
in classRenderable
-
isClickInBounds
public boolean isClickInBounds(int cx, int cy)
-
-