MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / OnPostUpdate

Method OnPostUpdate

Sources/Main.cpp:445–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443}
444
445void GameEventHandler::OnPostUpdate()
446{
447 _currentHandler->OnEndFrame();
448
449 if (_backInvokedTimeLeft > 0) {
450 _backInvokedTimeLeft--;
451 if (_backInvokedTimeLeft <= 0) {
452 KeyboardEvent event{};
453 event.sym = Keys::Back;
454 _currentHandler->OnKeyReleased(event);
455 }
456 }
457}
458
459void GameEventHandler::OnResizeWindow(std::int32_t width, std::int32_t height)
460{

Callers

nothing calls this directly

Calls 2

OnEndFrameMethod · 0.45
OnKeyReleasedMethod · 0.45

Tested by

no test coverage detected