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

Method getDifficulty

src/Savegame/SavedGame.cpp:573–576  ·  view source on GitHub ↗

* Returns the game's difficulty level. * @return Difficulty level. */

Source from the content-addressed store, hash-verified

571 * @return Difficulty level.
572 */
573GameDifficulty SavedGame::getDifficulty() const
574{
575 return _difficulty;
576}
577
578/**
579 * Changes the game's difficulty to a new level.

Callers 12

loadMethod · 0.80
deployAliensMethod · 0.80
addAlienMethod · 0.80
thinkMethod · 0.80
explosiveEfficacyMethod · 0.80
convertUnitMethod · 0.80
MonthlyReportStateMethod · 0.80
time10MinutesMethod · 0.80
time1MonthMethod · 0.80
DogfightStateMethod · 0.80
moveMethod · 0.80
ufoFireWeaponMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected