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

Method doesAnimationExist

src/logic/NpcAnimationHandler.cpp:718–724  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716}
717
718bool NpcAnimationHandler::doesAnimationExist(const std::string& animName)
719{
720 Components::AnimHandler& h = getAnimHandler();
721 Handle::AnimationHandle hanim = getAnimLib().getAnimation(h.getMeshLibName(), h.getOverlay(), animName);
722
723 return hanim.isValid();
724}
725
726std::string NpcAnimationHandler::buildTransitionAnimationFromCurrentToGiven(const std::string& stateTo)
727{

Callers

nothing calls this directly

Calls 2

getAnimationMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected