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

Method getHours

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

Source from the content-addressed store, hash-verified

182}
183
184unsigned int GameTime::getHours() const { return getPtime(this->ticks).time_of_day().hours(); }
185
186unsigned int GameTime::getMinutes() const { return getPtime(this->ticks).time_of_day().minutes(); }
187

Callers 4

updateInfiltrationMethod · 0.80
eventOccurredMethod · 0.80
updateMethod · 0.80

Calls 1

getPtimeFunction · 0.85

Tested by

no test coverage detected