mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
process page test
This commit is contained in:
parent
a34fff3515
commit
f8f6ffc0c5
11 changed files with 58 additions and 33 deletions
|
|
@ -8,7 +8,10 @@
|
|||
#include "../../window/Camera.h"
|
||||
#include "../../engine.h"
|
||||
|
||||
MenuScreen::MenuScreen(Engine* engine_) : Screen(engine_) {
|
||||
MenuScreen::MenuScreen(Engine* engine) : Screen(engine) {
|
||||
engine->getContentPacks().clear();
|
||||
engine->loadContent();
|
||||
|
||||
auto menu = engine->getGUI()->getMenu();
|
||||
menu->reset();
|
||||
menu->setPage("main");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue