1 #ifndef RECTRENDERCOMPONENT_HPP 2 #define RECTRENDERCOMPONENT_HPP 4 #include "RenderComponent.hpp" 13 virtual void Render()
override;
A RenderComponent class.
Definition: RenderComponent.hpp:13
SDL_Color color
The color of this RectRenderComponent.
Definition: RectRenderComponent.hpp:17
RectRenderComponent(SDL_Color color)
Constructs a new RectRenderComponent of the given color.
Definition: RectRenderComponent.cpp:5
A component class for rendering rects as solid colors.
Definition: RectRenderComponent.hpp:7
virtual void Render() override
Renders this component based on the given camera.
Definition: RectRenderComponent.cpp:7