A component that represents a texture.
Definition TextureComponent.hpp:16
ComponentType GetType() override
Get the type of the component.
void SetSpritePath(const std::string &filepath)
Set the path to the sprite that will be set when the scene is loaded.
Definition TextureComponent.hpp:26
void Input(float deltaTime) override
Handle input.
void Render(SDL_Renderer *renderer) override
Render the game.
void Update(float deltaTime) override
Update the game state.