void setValue(unsigned int value)
Sets the number text's value.
Definition: NumberText.cpp:197
unsigned int getValue() const
Gets the number text's value.
Definition: NumberText.cpp:207
void setColor(Uint8 color)
Sets the number text's color.
Definition: NumberText.cpp:216
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:185
void draw()
Draws the number text.
Definition: NumberText.cpp:249
Uint8 getColor() const
Gets the number text's color.
Definition: NumberText.cpp:226
void setPalette(SDL_Color *colors, int firstcolor=0, int ncolors=256)
Sets the number text's palette.
Definition: NumberText.cpp:237
Number digits displayed on the screen.
Definition: NumberText.h:31