18 SDL_Renderer& sdl_renderer_;
20 void draw_circle(
int cx,
int cy,
int radius);
Camera GameObject class Inherits from GameObject class and represents a camera in the scene....
Definition camera.h:18
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 box collider 2D rendering strategy.
Definition sdl_circle_collider_2d_strategy.h:16
SdlCircleCollider2DStrategy(SDL_Renderer &sdl_renderer)
~SdlCircleCollider2DStrategy() override=default
void draw(Component &component, Camera &camera) override