mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
cleanup
This commit is contained in:
parent
e442402e43
commit
f99d909f34
9 changed files with 19 additions and 46 deletions
|
|
@ -18,6 +18,7 @@
|
|||
#include "settings.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
#include "assets/assetload_funcs.hpp"
|
||||
#include "content/ContentPack.hpp"
|
||||
|
||||
using namespace gui;
|
||||
|
||||
|
|
|
|||
|
|
@ -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