--------------------------------- InputManager::CycleKeyState Updates a key state
| 164 | // Updates a key state |
| 165 | // |
| 166 | void InputManager::CycleKeyState(E_KeyState& state) const |
| 167 | { |
| 168 | if (state == E_KeyState::Pressed) |
| 169 | { |
| 170 | state = E_KeyState::Down; |
| 171 | } |
| 172 | else if (state == E_KeyState::Released) |
| 173 | { |
| 174 | state = E_KeyState::Up; |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | |
| 179 | } // namespace core |
nothing calls this directly
no outgoing calls
no test coverage detected