@Override
    public boolean inputDown(float x, float y) {
	if (enabled && visible && getBounds().contains(x, y)) {
	    if (callback != null)
		callback.onButtonEvent(this, DynamicButtonCallback.DOWN);
	    if (state == State.DOWN)
		state = DynamicButton.State.UP;
	    else if (state == State.UP)
		state = DynamicButton.State.DOWN;
	    return true;
	}
	return false;
    }