|
Game Engine 2D Platformer
|
TileComponent class used to make tiles. More...
#include <TileComponent.hpp>


Public Member Functions | |
| TileComponent (SDL_Renderer *ren) | |
| Constuctor for TileComponent. More... | |
| ~TileComponent () | |
| Destructor for TileComponent. More... | |
| void | StartUp () |
| Initializes the attributes for TileComponent. More... | |
| void | ShutDown () |
| Destroys and frees attributes for TileComponent. More... | |
| void | Update (GameEntity &entity) |
| Updates the TileComponent. More... | |
| void | Render (GameEntity &entity) |
| Renders the TileComponent. More... | |
Public Member Functions inherited from Component | |
| Component ()=default | |
| Constuctor for Component class. More... | |
| virtual void | LoadImage (std::string filepath, SDL_Renderer *ren) |
| To initalize loadImages for children classes. More... | |
| virtual void | HandleEvent (GameEntity &entity) |
| Handle the events of GameEntity object for children classes. More... | |
TileComponent class used to make tiles.
| TileComponent::TileComponent | ( | SDL_Renderer * | ren | ) |
Constuctor for TileComponent.
| ren | Renderer of the Main Game Loop |
| TileComponent::~TileComponent | ( | ) |
Destructor for TileComponent.
|
virtual |
Renders the TileComponent.
Renders tile on screen.
| entity | GameEntity Object |
| GameEntity | &entity |
Reimplemented from Component.
|
virtual |
Destroys and frees attributes for TileComponent.
Reimplemented from Component.
|
virtual |
Initializes the attributes for TileComponent.
Reimplemented from Component.
|
virtual |