#include <eosim/graphic/Display.hpp>
Public Member Functions | |
TextSprite () | |
This operation creates a Sprite with undefined state. It is an error to invoke any operation except assign it to another Sprite. | |
TextSprite (Display &dis, const char *text, double size, double x, double y) | |
This is a constructor of Sprite. | |
void | setText (const char *text) |
This operation asigns a text to the Sprite. | |
void | setMoves (MoveAction m) |
This operation assigns a move sequence to a TextSprite (see Sprite::setMoves). | |
void | setVisible (bool v) |
This operation makes the Sprite visible. | |
bool | getVisible () const |
This operation returns true if the Sprite is visible. |
eosim::graphic::TextSprite::TextSprite | ( | Display & | dis, | |
const char * | text, | |||
double | size, | |||
double | x, | |||
double | y | |||
) |