MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / restoreResetAnimation

Method restoreResetAnimation

Source/Animation/ModelDef.cpp:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void SpriteDef::restoreResetAnimation(Node* target, ActionDuration* action) {
129 ResetAction* resetAction = DoraAs<ResetAction>(action);
130 if (resetAction) {
131 resetAction->prepareWith(target);
132 resetAction->updateEndValues(this);
133 }
134}
135
136/* ModelDef */
137

Callers 1

runMethod · 0.45

Calls 2

prepareWithMethod · 0.80
updateEndValuesMethod · 0.80

Tested by

no test coverage detected