void fade_to_ambient_light(float red, float green, float blue, float seconds)
Fades to the target ambient light.
Definition: ambient_light.cpp:111
virtual bool is_singleton() const override
If true only a single object of this type is allowed in a given GameObjectManager.
Definition: ambient_light.hpp:33
virtual void update(float dt_sec) override
This function is called once per frame and allows the object to update it's state.
Definition: ambient_light.cpp:57
virtual void draw(DrawingContext &context) override
The GameObject should draw itself onto the provided DrawingContext if this function is called...
Definition: ambient_light.cpp:93
This class provides functions for drawing things on screen.
Definition: drawing_context.hpp:42