|
VEGO-Engine
0.1
|
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 | |
| TransformComponent * | transform |
| SpriteComponent * | sprite |
| SDL_Rect | tileRect |
| int | tileID |
| const char * | path |
Public Attributes inherited from Component | |
| Entity * | entity |
|
overridevirtual |
Reimplemented from Component.