18 SDL_Renderer& sdl_renderer_;
20 Color get_default_image_color(SDL_Texture* texture);
21 void set_image_color(
const Color& color, SDL_Texture* texture);
Camera GameObject class Inherits from GameObject class and represents a camera in the scene....
Definition camera.h:18
Represents a color with red, green, blue, and alpha components. Each component is represented as an u...
Definition color.h:7
Base class for all components that can be attached to GameObjects.
Definition component.h:24
Interface for rendering strategies used by renderable components.
Definition irendering_strategy.h:13
SDL implementation of the image rendering strategy.
Definition sdl_image_strategy.h:16
SdlImageStrategy(SDL_Renderer &sdl_renderer)
void draw(Component &component, Camera &camera) override
~SdlImageStrategy() override=default