| 30 | } |
| 31 | |
| 32 | bool KeyBoard::keyReleased(SDL_Scancode key) |
| 33 | { |
| 34 | return !bKeys_state[input_state][key] && bKeys_state[input_state ^ 1][key]; |
| 35 | } |
| 36 | |
| 37 | bool KeyBoard::keyDown(SDL_Scancode key) { return bKeys_state[input_state][key]; } |
| 38 |
no outgoing calls
no test coverage detected