2D Engine v0.1.0
Loading...
Searching...
No Matches
SpriteComponent Struct Reference

Sprite Component. More...

#include <Components.hpp>

Collaboration diagram for SpriteComponent:
Collaboration graph

Public Attributes

std::string filePath
 
float width
 
float height
 
std::shared_ptr< SDL_Texture > texture
 

Detailed Description

Sprite Component.

Member Data Documentation

◆ filePath

std::string SpriteComponent::filePath

◆ height

float SpriteComponent::height

◆ texture

std::shared_ptr<SDL_Texture> SpriteComponent::texture

◆ width

float SpriteComponent::width

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