Exemplo n.º 1
0
//////////////////////////////////////////////////////////////////////////////////
/// Updates the sprite (performs animation).
void Sprite::Update() {
	if(!m_visible) {
		return;
	}
	if(GetAutoAnimate()) { 
		incFrame();
	}
}
Exemplo n.º 2
0
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 );
}