MCPcopy Create free account
hub / github.com/carbonengine/trinity / QueueAnimation

Method QueueAnimation

trinity/Tr2GrannyAnimationLayer.cpp:169–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void Tr2GrannyAnimationLayer::QueueAnimation( const char* animName, bool replace, int loopCount, float delay, float speed, bool clearWhenDone )
170{
171 AnimationRequest ar;
172 ar.m_animationName = animName;
173 ar.m_replace = replace;
174 ar.m_clearWhenDone = clearWhenDone;
175 ar.m_loopCount = loopCount;
176 ar.m_start = delay;
177 ar.m_speed = speed;
178
179 m_animationQueue.push_back( ar );
180}
181
182
183float Tr2GrannyAnimationLayer::GetLayerAnimationTime()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected