Make update and update_texture required functions for panels
This commit is contained in:
parent
ea21325308
commit
886e766ae6
@ -30,6 +30,9 @@ namespace dashboard::panel {
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
SDL_Texture* _texture;
|
SDL_Texture* _texture;
|
||||||
|
|
||||||
|
virtual void update() = 0;
|
||||||
|
virtual void update_texture() = 0;
|
||||||
virtual void initTexture() = 0;
|
virtual void initTexture() = 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user