MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getYear

Method getYear

src/Savegame/GameTime.cpp:249–252  ·  view source on GitHub ↗

* Returns the current ingame year. * @return Year. */

Source from the content-addressed store, hash-verified

247 * @return Year.
248 */
249int GameTime::getYear() const
250{
251 return _year;
252}
253
254/**
255 * Returns the current position of the daylight emitted on the globe

Callers 6

getSaveInfoMethod · 0.80
SoldierMemorialStateMethod · 0.80
MonthlyReportStateMethod · 0.80
timeDisplayMethod · 0.80
getSunDirectionMethod · 0.80
GraphsStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected