(Integer... choices)
| 391 | boolean justPaused = false; |
| 392 | |
| 393 | private boolean getButton(Integer... choices) { |
| 394 | for (Integer choice : choices) { |
| 395 | if (choice != null && choice >= 0 && choice < buttons.capacity()) { |
| 396 | return buttons.get(choice) != 0; |
| 397 | } |
| 398 | } |
| 399 | return false; |
| 400 | } |
| 401 | |
| 402 | private void readButtons() { |
| 403 | if (readGLFWJoystick()) { |
no test coverage detected