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

Method buttonReleased

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

Source from the content-addressed store, hash-verified

69}
70
71bool Mouse::buttonReleased()
72{
73 return !bButtons_state[input_state][0] && bButtons_state[input_state ^ 1][0];
74}
75
76bool Mouse::buttonDown() { return bButtons_state[input_state][0]; }
77

Callers 3

I_updateGameInputFunction · 0.80
I_updateProgramInputFunction · 0.80
I_updateMenuInputFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected