This commit is contained in:
39
src/state/main/menu.hpp
Normal file
39
src/state/main/menu.hpp
Normal file
@@ -0,0 +1,39 @@
|
||||
#pragma once
|
||||
|
||||
#include <imgui.h>
|
||||
|
||||
#include "../configuration.hpp"
|
||||
|
||||
#include "chat.hpp"
|
||||
#include "cheats.hpp"
|
||||
#include "debug.hpp"
|
||||
#include "play.hpp"
|
||||
#include "stats.hpp"
|
||||
#include "text.hpp"
|
||||
|
||||
#include "../../util/imgui/window_slide.hpp"
|
||||
|
||||
namespace game::state::main
|
||||
{
|
||||
class Menu
|
||||
{
|
||||
public:
|
||||
Play play;
|
||||
Chat chat;
|
||||
Cheats cheats;
|
||||
Debug debug;
|
||||
Stats stats;
|
||||
Inventory inventory;
|
||||
|
||||
state::Configuration configuration;
|
||||
|
||||
bool isCheats{true};
|
||||
bool isDebug{true};
|
||||
bool isOpen{true};
|
||||
bool isChat{true};
|
||||
util::imgui::WindowSlide slide{};
|
||||
|
||||
void tick();
|
||||
void update(Resources&, ItemManager&, entity::Character&, entity::Cursor&, Text&, Canvas&);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user