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

Method GetSprite

LuaSTGPlus/ResourceMgr.h:649–656  ·  view source on GitHub ↗

@brief 获取精灵

Source from the content-addressed store, hash-verified

647
648 /// @brief 获取精灵
649 fcyRefPointer<ResSprite> GetSprite(const char* name)LNOEXCEPT
650 {
651 auto i = m_SpritePool.find(name);
652 if (i == m_SpritePool.end())
653 return nullptr;
654 else
655 return i->second;
656 }
657
658 /// @brief 获取动画
659 fcyRefPointer<ResAnimation> GetAnimation(const char* name)LNOEXCEPT

Callers

nothing calls this directly

Calls 1

findMethod · 0.80

Tested by

no test coverage detected