void BattleAnimation::Update() { Sprite::Update(); if (frame_update) { frame++; RunTimedSfx(); } frame_update = !frame_update; }
void BattleAnimation::Update() { if (frame_update) { frame++; RunTimedSfx(); } frame_update = !frame_update; if (sprite) { sprite->Update(); } }