Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
SdlAIControllerStrategy Class Referencefinal

SDL implementation of the AIController rendering strategy. More...

#include <sdl_ai_controller_strategy.h>

Inheritance diagram for SdlAIControllerStrategy:
[legend]

Public Member Functions

 SdlAIControllerStrategy (SDL_Renderer &sdl_renderer)
 
 ~SdlAIControllerStrategy () override=default
 
void draw (Component &component, Camera &camera) override
 
- Public Member Functions inherited from IRenderingStrategy
virtual ~IRenderingStrategy ()=default
 

Detailed Description

SDL implementation of the AIController rendering strategy.

SdlAIControllerStrategy is responsible for rendering AIController components using SDL. It utilizes an SDL_Renderer to draw the associated Texture of the AIController component onto the screen, applying transformations and color modulations as specified by the AIController.

Constructor & Destructor Documentation

◆ SdlAIControllerStrategy()

SdlAIControllerStrategy::SdlAIControllerStrategy ( SDL_Renderer &  sdl_renderer)

◆ ~SdlAIControllerStrategy()

SdlAIControllerStrategy::~SdlAIControllerStrategy ( )
overridedefault

Member Function Documentation

◆ draw()

void SdlAIControllerStrategy::draw ( Component component,
Camera camera 
)
overridevirtual

Implements IRenderingStrategy.


The documentation for this class was generated from the following file: