MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / buttonDown

Method buttonDown

engine/src/input.cpp:76–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool Mouse::buttonDown() { return bButtons_state[input_state][0]; }
77
78bool Mouse::buttonUp() { return !bButtons_state[input_state][0]; }
79

Callers 3

I_updateGameInputFunction · 0.80
I_updateProgramInputFunction · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected