mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
world creation content menu
This commit is contained in:
parent
5402872c28
commit
bab806c2f8
9 changed files with 82 additions and 23 deletions
|
|
@ -10,9 +10,8 @@
|
|||
#include "../../engine.h"
|
||||
|
||||
MenuScreen::MenuScreen(Engine* engine) : Screen(engine) {
|
||||
engine->getContentPacks().clear();
|
||||
engine->loadContent();
|
||||
|
||||
engine->resetContent();
|
||||
|
||||
auto menu = engine->getGUI()->getMenu();
|
||||
menu->reset();
|
||||
menu->setPage("main");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue