|
Building Game Engines
|
#include <Background.hpp>


Public Member Functions | |
| Background (SDL_Texture *texture) | |
| ~Background () | |
| virtual void | Update () |
| virtual void | Render (SDL_Renderer *renderer) |
Public Member Functions inherited from Component | |
| Component () | |
| virtual | ~Component ()=0 |
The background for the game, acts as a component
| Background::Background | ( | SDL_Texture * | texture | ) |
Constructor Texture is the background texture.
| Background::~Background | ( | ) |
Destructor
|
virtual |
Renders the background.
Implements Component.
|
virtual |
Does nothing.
Implements Component.
1.8.13