MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / setTarget

Method setTarget

src/Core/Animation/Animator.cpp:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 }
182
183 void Animator::setTarget(
184 Graphics::Sprite& sprite, AnimatorTargetScaleMode targetScaleMode)
185 {
186 m_target = &sprite;
187 m_targetScaleMode = targetScaleMode;
188 }
189
190 const Graphics::Texture& Animator::getTexture() const
191 {

Callers 2

LoadClassAnimatorFunction · 0.80
loadGameObjectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected