Files
shweets-sim/src/resource/xml/cursor.hpp
shweet 17f3348e94
Some checks failed
Build / Build Game (push) Has been cancelled
The Mega Snivy Update
2026-02-28 21:48:00 -05:00

39 lines
698 B
C++

#pragma once
#include "util.hpp"
namespace game::resource::xml
{
class Cursor
{
public:
struct Animations
{
AnimationEntryCollection idle{};
AnimationEntryCollection hover{};
AnimationEntryCollection grab{};
AnimationEntryCollection pan{};
AnimationEntryCollection zoom{};
AnimationEntryCollection return_{};
};
struct Sounds
{
SoundEntryCollection grab{};
SoundEntryCollection release{};
SoundEntryCollection throw_{};
};
Animations animations{};
Sounds sounds{};
Anm2 anm2{};
bool isValid{};
Cursor() = default;
Cursor(const util::physfs::Path&);
bool is_valid() const;
};
}