Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ tick
Method
tick
source/game/StarGameTimers.cpp:13–16 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
11
}
12
13
bool GameTimer::tick(float dt) {
14
timer = approach(0.0f, timer, dt);
15
return timer == 0.0f;
16
}
17
18
bool GameTimer::ready() const {
19
return timer == 0.0f;
Callers
nothing calls this directly
Calls
1
approach
Function · 0.85
Tested by
no test coverage detected