Пример #1
0
void Animation::setAnimation( std::string name )
{
	setAnimation(getAnimationId( name ));
}
Пример #2
0
Animation * AnimationMgr::getCurrentAnimation() const
{
   assert(getAnimationId() < getAnimationCount());
   return _animations[getAnimationId()].get();
}