virtual HitResponse collision(GameObject &other, const CollisionHit &hit) override
this function is called when the object collided with any other object
Definition: flower.cpp:72
virtual void update(float dt_sec) override
This function is called once per frame and allows the object to update it's state.
Definition: flower.cpp:60
virtual void draw(DrawingContext &context) override
The GameObject should draw itself onto the provided DrawingContext if this function is called...
Definition: flower.cpp:65
virtual bool is_saveable() const override
Indicates if the object will be saved.
Definition: flower.hpp:30
This class provides functions for drawing things on screen.
Definition: drawing_context.hpp:42