Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
22
bool GameTimer::wrapTick(float dt) {
23
auto res = tick(dt);
24
if (res)
25
reset();
26
return res;
27
}
28
29
void GameTimer::reset() {
30
timer = time;
Callers
11
update
Method · 0.80
update
Method · 0.80
tickShared
Method · 0.80
update
Method · 0.80
tickMaster
Method · 0.80
update
Method · 0.80
update
Method · 0.80
update
Method · 0.80
update
Method · 0.80
renderDebug
Method · 0.80
update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected