Files
snivy/src/resource/xml/menu.hpp
shweet 2a58c3b24b
Some checks failed
Build / Build Game (push) Has been cancelled
UPGRADE! + cheats
2026-03-02 14:02:14 -05:00

33 lines
555 B
C++

#pragma once
#include "../../util/physfs.hpp"
#include "../font.hpp"
#include "sound_entry.hpp"
namespace game::resource::xml
{
class Menu
{
public:
struct Sounds
{
SoundEntryCollection open{};
SoundEntryCollection close{};
SoundEntryCollection hover{};
SoundEntryCollection select{};
SoundEntryCollection cheatsActivated{};
};
Sounds sounds{};
Font font{};
float rounding{};
bool isValid{};
Menu() = default;
Menu(const util::physfs::Path&);
bool is_valid() const;
};
}