#include <Text.h>
|
|
| Text (const double x_, const double y_, const std::string &path_, const int size_, const std::string &text_) |
| |
| virtual void | update (const double dt_) |
| | Updates the text. More...
|
| |
| virtual void | render (const double cameraX_, const double cameraY_) |
| | Renders the text. More...
|
| |
|
virtual | ~Entity () |
| | The destructor.
|
| |
| unsigned int | getWidth () |
| |
| unsigned int | getHeight () |
| |
| SDL_Rect & | getAnimationClip () |
| |
- Todo:
- Actually make this work.
| virtual void Text::render |
( |
const double |
cameraX_, |
|
|
const double |
cameraY_ |
|
) |
| |
|
virtual |
Renders the text.
- Parameters
-
| cameraX_ | : The x position of the camera. |
| cameraY_ | : The y position of the camera. |
Implements Entity.
| virtual void Text::update |
( |
const double |
dt_) | |
|
|
virtual |
Updates the text.
- Parameters
-
| dt_ | : Delta time. Time elapsed between one frame and the other. |
Implements Entity.
The documentation for this class was generated from the following file:
- /home/caio/Git/Dauphine/include/Text.h