MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / getMap

Method getMap

Source/ScriptingEngine.cpp:366–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366std::shared_ptr<cRandomMap> cScriptingEngine::getMap() {
367 return std::dynamic_pointer_cast<cRandomMap>(g_Fodder->mMapLoaded);
368}
369
370std::shared_ptr<cPhase> cScriptingEngine::getPhase() {
371 return g_Fodder->mGame_Data.mPhase_Current;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected