virtual HitResponse collision(GameObject &other, const CollisionHit &hit_) override
this function is called when the object collided with any other object
Definition: spotlight.cpp:106
virtual void update(float dt_sec) override
This function is called once per frame and allows the object to update it's state.
Definition: spotlight.cpp:70
virtual void draw(DrawingContext &context) override
The GameObject should draw itself onto the provided DrawingContext if this function is called...
Definition: spotlight.cpp:83
This class provides functions for drawing things on screen.
Definition: drawing_context.hpp:42