Codechange: be consistent in what CheckPaletteAnim() does and when it is called

Additionally, make sure this is a class method. Later commits
will make use of this.
This commit is contained in:
Patric Stout
2021-02-20 11:15:15 +01:00
committed by Patric Stout
parent 790fa7102e
commit ec1dd0bf61
10 changed files with 16 additions and 17 deletions

View File

@@ -184,6 +184,11 @@ protected:
*/
virtual void PaintThread() {}
/**
* Process any pending palette animation.
*/
virtual void CheckPaletteAnim() {}
std::chrono::steady_clock::duration GetGameInterval()
{
return std::chrono::milliseconds(MILLISECONDS_PER_TICK);