package jesse.keeblarcraft.ClientHelpers;

public class Helper {
    public static boolean WithinBounds(double x, double y, double w, double h, double clickX, double clickY) {
//        System.out.println("Mouse click X Y: " + clickX + " " + clickY);
//        System.out.println("Rectangle X Y W H: " + x + " " + y + " " + w + " " + h);
        return (clickX >= x) && (clickX <= x + w) && (clickY >= y) && (clickY <= y + h);
    }
}
