Posted August 10, 201411 yr How would I draw a Tooltip over a certain area to show the current fluid amount. I tried doing @Override public void addToolTip() { if (mouseX >= 15 && mouseX <= 30 && mouseY >= 18 && mouseY <= 75) { tooltip.add(tile.tank.getFluidAmount() + "/" + tile.tank.getCapacity()); } }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.