MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / wrapTick

Method wrapTick

source/game/StarGameTimers.cpp:22–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22bool GameTimer::wrapTick(float dt) {
23 auto res = tick(dt);
24 if (res)
25 reset();
26 return res;
27}
28
29void GameTimer::reset() {
30 timer = time;

Callers 11

updateMethod · 0.80
updateMethod · 0.80
tickSharedMethod · 0.80
updateMethod · 0.80
tickMasterMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80
renderDebugMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected