public class GuiBoundsChecker
extends java.lang.Object
| Constructor and Description |
|---|
GuiBoundsChecker() |
| Modifier and Type | Method and Description |
|---|---|
int |
getRelativeX(int mouseX) |
int |
getRelativeY(int mouseY) |
boolean |
inBounds(int mouseX,
int mouseY) |
boolean |
isHovered() |
void |
updateBounds(int x,
int y,
int width,
int height) |
void |
updateHovered(int mouseX,
int mouseY) |
public void updateBounds(int x,
int y,
int width,
int height)
public void updateHovered(int mouseX,
int mouseY)
public boolean inBounds(int mouseX,
int mouseY)
public int getRelativeX(int mouseX)
public int getRelativeY(int mouseY)
public boolean isHovered()