Files
shweets-sim/src/resource/xml/animation_entry.hpp
shweet 3375f56492
Some checks failed
Build / Build Game (push) Has been cancelled
fix for empty sounds/animation collections
2026-03-02 20:17:04 -05:00

24 lines
401 B
C++

// Handles animation entries in .xml files. "Weight" value determines weight of being randomly selected.
#pragma once
#include <string>
#include <vector>
namespace game::resource::xml
{
class AnimationEntry
{
public:
std::string animation{};
float weight{1.0f};
};
class AnimationEntryCollection : public std::vector<AnimationEntry>
{
public:
std::string* get();
};
}