unsigned int getValue() const
Gets the number text's value.
Definition: NumberText.cpp:230
Uint8 getColor() const
Gets the number text's color.
Definition: NumberText.cpp:249
void setValue(unsigned int value)
Sets the number text's value.
Definition: NumberText.cpp:220
void setColor(Uint8 color)
Sets the number text's color.
Definition: NumberText.cpp:239
NumberText(int width, int height, int x=0, int y=0)
Creates a new number text with the specified size and position.
Definition: NumberText.cpp:33
~NumberText()
Cleans up the number text.
Definition: NumberText.cpp:207
void draw()
Draws the number text.
Definition: NumberText.cpp:273
void setPalette(SDL_Color *colors, int firstcolor=0, int ncolors=256)
Sets the number text's palette.
Definition: NumberText.cpp:260
void setBordered(bool bordered)
sets this numbertext to have a border or not
Definition: NumberText.cpp:304
Number digits displayed on the screen.
Definition: NumberText.h:29