////////////////////////////////////////////////////////////////////////////////// /// Updates the sprite (performs animation). void Sprite::Update() { if(!m_visible) { return; } if(GetAutoAnimate()) { incFrame(); } }
bool DemoLastBoss::drawCutOut( bool flagExel, bool flagExeler, bool flagXex ) { if( flagExel ) CutInExel.drawCutOut( frame, nCutOutMaxFrame ); if( flagExeler ) CutInExeler.drawCutOut( frame, nCutOutMaxFrame ); if( flagXex ) CutInXex.drawCutOut( frame, nCutOutMaxFrame ); return incFrame( nCutOutMaxFrame ); }