25 virtual void draw(uint32_t time) = 0;
36 bool visibility =
true;
A simple interface for all the graphic objects that are supposed to be drawn.
Definition: GraphicsObject.h:17
virtual void draw(uint32_t time)=0
The draw method. It will be called once per frame for each object in a scene.
bool isVisible() const
Definition: GraphicsObject.h:26
void setVisibility(bool visible)
Definition: GraphicsObject.h:30
virtual ~GraphicsObject()=default