Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ addAnimation
Method
addAnimation
core/2d/AnimationCache.cpp:68–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
void AnimationCache::addAnimation(Animation* animation, std::string_view name)
69
{
70
_animations.insert(std::string{name}, animation);
71
}
72
73
void AnimationCache::removeAnimation(std::string_view name)
74
{
Callers
2
parseVersion1
Method · 0.45
parseVersion2
Method · 0.45
Calls
1
insert
Method · 0.45
Tested by
no test coverage detected