![]() |
The NEW Pong Game V13.2.1
An interesting implemnettaion of the pong game
|
Header defining renderers for various game shapes. More...
#include <SDL.h>#include <SDL_ttf.h>#include <algorithm>Go to the source code of this file.
Classes | |
| struct | circle_renderer |
| Functor for rendering circular shapes. More... | |
| struct | square_renderer |
| Functor for rendering square shapes. More... | |
| struct | triangle_renderer |
| Functor for rendering triangle shapes. More... | |
Namespaces | |
| namespace | Utilities |
| Utility functions for rendering common UI elements. | |
Functions | |
| void | Utilities::render_button (SDL_Renderer *renderer, TTF_Font *font, const char *text, const SDL_Rect &button, const SDL_Color &color) |
| Renders a text button on screen. | |
Header defining renderers for various game shapes.