public void update() { mouse.update(); for (GuiButton button : buttons) { handleInput(button); } }
public void init() { for (GuiButton button : buttons) { mouse.addObject(button); } }