24 : m_anmObjChrRes(anmObjChrRes), m_anmType(anmType), m_idx(idx) {}
27 [[nodiscard]] f32 frameCount()
const {
28 return static_cast<f32
>(m_anmObjChrRes.frameCount());
32 [[nodiscard]] f32 frame()
const {
33 return m_anmObjChrRes.frame();
49 void playAnim(f32 frame, f32 rate,
size_t idx);
52 [[nodiscard]]
const AnmNodeChr *activeAnim(AnmType anmType)
const {
53 return m_activeAnims[
static_cast<size_t>(anmType)];
58 std::list<AnmNodeChr> m_anmList;
59 std::array<AnmNodeChr *, static_cast<size_t>(AnmType::Max) - 1> m_activeAnims;