Content menu, content-pack dependencies

This commit is contained in:
MihailRis
2024-01-27 00:36:18 +03:00
parent abc3e47feb
commit c57b2d0de3
25 changed files with 230 additions and 21 deletions
+5
View File
@@ -104,6 +104,7 @@ LevelScreen::~LevelScreen() {
auto world = level->getWorld();
world->write(level.get());
controller->onWorldQuit();
engine->getPaths()->setWorldFolder(fs::path());
}
void LevelScreen::updateHotkeys() {
@@ -163,3 +164,7 @@ void LevelScreen::draw(float delta) {
}
}
}
Level* LevelScreen::getLevel() const {
return level.get();
}