MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / clearEvents

Function clearEvents

TheForceEngine/TFE_Input/replay.cpp:204–212  ·  view source on GitHub ↗

Wipe all event history

Source from the content-addressed store, hash-verified

202
203 // Wipe all event history
204 void clearEvents()
205 {
206 size_t iSize = inputEvents.size();
207 for (int i = 0; i < iSize; i++)
208 {
209 inputEvents[i].clear();
210 }
211 inputEvents.clear();
212 }
213
214 void recordEvent(int action, KeyboardCode keyCode, bool isPress)
215 {

Callers 2

serializeDemoFunction · 0.85
startCommonReplayStatesFunction · 0.85

Calls 2

sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected