Make update and update_texture required functions for panels

This commit is contained in:
Tyler Perkins 2021-12-21 17:07:59 -05:00
parent ea21325308
commit 886e766ae6

View File

@ -30,6 +30,9 @@ namespace dashboard::panel {
protected:
SDL_Texture* _texture;
virtual void update() = 0;
virtual void update_texture() = 0;
virtual void initTexture() = 0;
};
}