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

Method getTurn

src/Savegame/SavedBattleGame.cpp:773–776  ·  view source on GitHub ↗

* Gets the current turn number. * @return The current turn. */

Source from the content-addressed store, hash-verified

771 * @return The current turn.
772 */
773int SavedBattleGame::getTurn() const
774{
775 return _turn;
776}
777
778/**
779 * Ends the current turn and progresses to the next one.

Callers 6

saveMethod · 0.80
explosiveEfficacyMethod · 0.80
btnOkClickMethod · 0.80
NextTurnStateMethod · 0.80
closeMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected