Пример #1
0
 public void update() {
   mouse.update();
   for (GuiButton button : buttons) {
     handleInput(button);
   }
 }
Пример #2
0
 public void init() {
   for (GuiButton button : buttons) {
     mouse.addObject(button);
   }
 }