MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / init

Method init

Source/GameManager.cpp:63–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool GameManager::init()
64{
65 GameToolbox::log("GAME MANAGER INIT");
66
67 auto fu = ax::FileUtils::getInstance();
68 auto wp = fu->getWritablePath();
69 _filepath = fmt::format("{}GameManager.opengd", wp);
70
71 print();
72
73 if (fu->isFileExist(_filepath))
74 load();
75
76 return true;
77}
78
79
80void GameManager::load()

Callers 1

getInstanceMethod · 0.45

Calls 1

logFunction · 0.85

Tested by

no test coverage detected