VEGO-Engine  0.1
Loading...
Searching...
No Matches
TileComponent Class Reference
Inheritance diagram for TileComponent:
[legend]
Collaboration diagram for TileComponent:
[legend]

Public Member Functions

 TileComponent (int x, int y, int w, int h, int id, const std::map< int, std::pair< std::string, bool > > *textureDict)
 
void init () override
 
bool hasCollision ()
 
std::string getName ()
 
- Public Member Functions inherited from Component
virtual void update ()
 

Public Attributes

TransformComponenttransform
 
SpriteComponentsprite
 
SDL_Rect tileRect
 
int tileID
 
const char * path
 
- Public Attributes inherited from Component
Entityentity
 

Member Function Documentation

◆ init()

void TileComponent::init ( )
overridevirtual

Reimplemented from Component.


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