public interface Clickable extends Renderable
Modifier and Type | Method and Description |
---|---|
default boolean |
click()
Left mouse click on the entity.
|
boolean |
click(boolean rightClick)
Click on the entity.
|
boolean |
hover()
Hover on the entity.
|
contains, draw, getCentralPoint, getRandomPoint, getRealCentralPoint, isVisible
default boolean click()
boolean click(boolean rightClick)
rightClick
- true to use the right mouse button to clickboolean hover()