MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / setAnimation

Method setAnimation

src/components/AnimHandler.cpp:163–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void AnimHandler::setAnimation(const std::string& animName)
164{
165 if (getActiveAnimationPtr() && getActiveAnimationPtr()->m_Name == animName)
166 return;
167
168 playAnimation(animName);
169
170 m_LoopActiveAnimation = true;
171}
172
173/**
174 * @brief Updates the currently playing animations

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected