INNER CODE UNIT · C++
scriptEngine
GlPortal/RadixEngine · source/BaseGame.cpp:75
scriptEngine = std::make_unique<ScriptEngine>(*world);
postSetup();
}
bool BaseGame::isRunning() {
return !closed;
}
World* BaseGame::getWorld() {
return world.get();
}
Config& BaseGame::getConfig() {
return config;
}
void BaseGame::switchToOtherWorld(const std::string &name) {
auto it = otherWorlds.find(name);