MCPcopy Create free account
hub / github.com/EasyRPG/Player / IsTriggered

Method IsTriggered

src/input.cpp:254–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254bool Input::IsTriggered(InputButton button) {
255 assert(!IsSystemButton(button));
256 WaitInput(true);
257 return triggered[button];
258}
259
260bool Input::IsRepeated(InputButton button) {
261 assert(!IsSystemButton(button));

Callers

nothing calls this directly

Calls 1

IsSystemButtonFunction · 0.85

Tested by

no test coverage detected