MCPcopy Create free account
hub / github.com/ddnet/ddnet / AnimAdd

Method AnimAdd

src/game/client/animstate.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void CAnimState::AnimAdd(CAnimState *pState, const CAnimState *pAdded, float Amount)
61{
62 AnimAddKeyframe(&pState->m_Body, pAdded->GetBody(), Amount);
63 AnimAddKeyframe(&pState->m_BackFoot, pAdded->GetBackFoot(), Amount);
64 AnimAddKeyframe(&pState->m_FrontFoot, pAdded->GetFrontFoot(), Amount);
65 AnimAddKeyframe(&pState->m_Attach, pAdded->GetAttach(), Amount);
66}
67
68void CAnimState::Set(const CAnimation *pAnim, float Time)
69{

Callers

nothing calls this directly

Calls 5

AnimAddKeyframeFunction · 0.85
GetBodyMethod · 0.80
GetBackFootMethod · 0.80
GetFrontFootMethod · 0.80
GetAttachMethod · 0.80

Tested by

no test coverage detected