|
Chess
|
Handles all SDL2 functionalities require to visualize the game. More...
#include <SDL2/SDL.h>#include <memory>#include <optional>#include <string>#include <vector>

Go to the source code of this file.
Classes | |
| class | Graphics |
| Handles all SDL2 functionalities require to visualize the game. More... | |
Handles all SDL2 functionalities require to visualize the game.
The Graphics class is responsible for handling everything you see on the screen. It loads the sprites stored in /assets, draws them and any other changes of the board state to the screen using SDL2 functionalities.
1.8.13