MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / GetAnimation

Method GetAnimation

LuaSTGPlus/ResourceMgr.h:659–666  ·  view source on GitHub ↗

@brief 获取动画

Source from the content-addressed store, hash-verified

657
658 /// @brief 获取动画
659 fcyRefPointer<ResAnimation> GetAnimation(const char* name)LNOEXCEPT
660 {
661 auto i = m_AnimationPool.find(name);
662 if (i == m_AnimationPool.end())
663 return nullptr;
664 else
665 return i->second;
666 }
667
668 /// @brief 获取背景音
669 fcyRefPointer<ResMusic> GetMusic(const char* name)LNOEXCEPT

Callers 1

FindAnimationMethod · 0.80

Calls 1

findMethod · 0.80

Tested by

no test coverage detected