Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GUIUtil.createSpriteGUI(Name.INVENTORY + "-background", -400, 200, 1, 0, 5000, Name.INVENTORY,
- new CGUIFunction() {
- @Override
- public void onEnter(Entity host, int x, int y) {
- System.out.println("Enter");
- }
- @Override
- public void onLeave(Entity host, int x, int y) {
- System.out.println("Leave");
- }
- @Override
- public void onPressed(Entity host, int x, int y) {
- System.out.println("Pressed");
- }
- @Override
- public void onReleased(Entity host, int x, int y) {
- System.out.println("Released");
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement