clicked = false;
selected = false;
return;
}
ADXPoint p = new ADXPoint(input.getMouseX(), input.getMouseY());
hovered = p.collides(r);
mouseDown = hovered && input.getButton(ADXInput.MOUSE_LEFT);
if (!clickOver) {
clicked = hovered && input.getButtonReleased(ADXInput.MOUSE_LEFT) || (selected && input.getKeyPressed(Keyboard.KEY_RETURN));
} else {
clickOver = false;