#include <ui_elements.hpp>
Public Member Functions | |
Label (const char *text, Rectangle bounds, float rotation) | |
virtual | ~Label ()=default |
void | Draw () override |
Draws the sprites. More... | |
![]() | |
UIElement (Rectangle bounds, float rotation) | |
virtual | ~UIElement ()=default |
void | SetPosition (Vector2 position) |
Vector2 | GetPosition () |
void | SetRotation (float rotation) |
float | GetRotation () |
void | SetSize (Vector2 size) |
Vector2 | GetSize () |
![]() | |
Drawable () | |
Sets the sprites' IDs. More... | |
virtual | ~Drawable ()=default |
virtual void | Create () |
virtual void | Update () |
int | GetID () |
Protected Attributes | |
const char * | text |
![]() | |
Rectangle | bounds |
float | rotation |
|
inline |
|
virtualdefault |
|
overridevirtual |
Draws the sprites.
Reimplemented from DrawableManager::Drawable.
|
protected |