void BattleAnimation::Update() {
	Sprite::Update();

	if (frame_update) {
		frame++;
		RunTimedSfx();
	}
	frame_update = !frame_update;
}
Example #2
0
void BattleAnimation::Update() {
	if (frame_update) {
		frame++;
		RunTimedSfx();
	}
	frame_update = !frame_update;

	if (sprite) {
		sprite->Update();
	}
}