MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / getSeconds

Method getSeconds

game/state/gametime.cpp:188–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186unsigned int GameTime::getMinutes() const { return getPtime(this->ticks).time_of_day().minutes(); }
187
188unsigned int GameTime::getSeconds() const { return getPtime(this->ticks).time_of_day().seconds(); }
189
190unsigned int GameTime::getTicksBetween(unsigned int fromDays, unsigned int fromHours,
191 unsigned int fromMinutes, unsigned int fromSeconds,

Callers 1

eventOccurredMethod · 0.80

Calls 1

getPtimeFunction · 0.85

Tested by

no test coverage detected