This commit is contained in:
MihailRis
2025-04-02 15:01:24 +03:00
parent e442402e43
commit f99d909f34
9 changed files with 19 additions and 46 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
#include "MenuScreen.hpp"
#include "content/ContentControl.hpp"
#include "graphics/ui/GUI.hpp"
#include "graphics/ui/elements/Menu.hpp"
#include "graphics/core/Batch2D.hpp"
@@ -12,7 +13,7 @@
#include "engine/Engine.hpp"
MenuScreen::MenuScreen(Engine& engine) : Screen(engine) {
engine.resetContent();
engine.getContentControl().resetContent();
auto menu = engine.getGUI().getMenu();
menu->reset();