|
Wraith
0.1.5
Basic 3D game engine in C++
|
A sprite string that handles 2D text messages on screen More...
#include <SpriteString.h>
Public Member Functions | |
| SpriteString (const SpriteString &)=default | |
| SpriteString & | operator= (const SpriteString &)=default |
| SpriteString (SpriteString &&)=default | |
| SpriteString & | operator= (SpriteString &&)=default |
| SpriteString (SpriteFont *pSpriteFont, const std::string &message, int positionX, int positionY) | |
| Constructor. More... | |
| void | set (SpriteFont *pSpriteFont, const std::string &message, int positionX, int positionY) |
| Sets sprite string data. More... | |
| void | setPosition (int positionX, int positionY) |
| Sets a position. More... | |
| int | getPositionX () const |
| Gets position x coordinate. More... | |
| int | getPositionY () const |
| Gets position y coordinate. More... | |
| int | getWidth () const |
| Gets the width. More... | |
| int | getHeight () const |
| Gets the height. More... | |
| void | render () |
| Renders the sprite string message onto the string. More... | |
Private Types | |
| typedef std::list< Sprite * > | GlyphCollection |
Private Attributes | |
| GlyphCollection | _glyphs |
| int | _positionX |
| int | _positionY |
| int | _width |
| int | _height |
A sprite string that handles 2D text messages on screen