MCPcopy Create free account
hub / github.com/doldecomp/mkdd / setAnimation

Method setAnimation

libs/JSystem/J2DGraph/J2DWindowEx.cpp:753–763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

751}
752
753void J2DWindowEx::setAnimation(J2DAnmColor* animation)
754{
755 for (u8 i = 0; i < 4; i++) {
756 if (isNeedSetAnm(i)) {
757 mFrameMaterials[i]->setAnimation(animation);
758 }
759 }
760 if (mContentsMaterial != nullptr) {
761 mContentsMaterial->setAnimation(animation);
762 }
763}
764
765void J2DWindowEx::setAnimation(J2DAnmTextureSRTKey* animation)
766{

Callers

nothing calls this directly

Calls 3

getAnmTableNumMethod · 0.45

Tested by

no test coverage detected