mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
cleanup
This commit is contained in:
parent
e442402e43
commit
f99d909f34
9 changed files with 19 additions and 46 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue