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

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

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