A Sprite that renders as a solid rectangle.
Definition at line 127 of file ge211_sprites.h.
Public Member Functions | |
Rectangle_sprite (Dimensions, Color=Color::white()) | |
Constructs a rectangle sprite from required Dimensions and an optional Color, which defaults to white. More... | |
void | recolor (Color) |
Changes the color of this rectangle sprite. | |
|
explicit |
Constructs a rectangle sprite from required Dimensions and an optional Color, which defaults to white.
Definition at line 130 of file ge211_sprites.cpp.