MCPcopy 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
13bool GameTimer::tick(float dt) {
14 timer = approach(0.0f, timer, dt);
15 return timer == 0.0f;
16}
17
18bool GameTimer::ready() const {
19 return timer == 0.0f;

Callers

nothing calls this directly

Calls 1

approachFunction · 0.85

Tested by

no test coverage detected