public void getShell() { if (InputUtility.isMouseLeftDownTrigger()) { if (defaultX <= InputUtility.getMouseX() && defaultX + 75 >= InputUtility.getMouseX()) { if (defaultY <= InputUtility.getMouseY() && defaultY + 75 >= InputUtility.getMouseY()) { canBuy = true; InputUtility.setMouseLeftDownTrigger(false); } } } else canBuy = false; }