| 246 | } |
| 247 | |
| 248 | bool Input::IsPressed(InputButton button) { |
| 249 | assert(!IsSystemButton(button)); |
| 250 | WaitInput(true); |
| 251 | return press_time[button] > 0; |
| 252 | } |
| 253 | |
| 254 | bool Input::IsTriggered(InputButton button) { |
| 255 | assert(!IsSystemButton(button)); |
nothing calls this directly
no test coverage detected