|
Sandbox 1
Sandbox game that emulates different material physics
|
Header with definition of all structs, enums and classes includind World. More...
#include <SDL3/SDL_video.h>#include <SDL3/SDL_init.h>#include <SDL3/SDL_render.h>#include <SDL3_ttf/SDL_ttf.h>#include <cstdint>#include <map>#include <utility>Go to the source code of this file.
Classes | |
| struct | Vector2 |
| Struct what represends objects position in 2D space. More... | |
| struct | Pixel |
| Enum that represents pixel type as a physical object. More... | |
| class | World |
| Singleton class of the world. More... | |
Typedefs | |
| typedef std::map< std::pair< int, int >, Pixel > | PixelMap |
| Map with key being std::pair<int, int> that represents pixel position in 2D space on the screen, and value being Pixel. | |
Enumerations | |
| enum | PixelType : uint8_t { SAND , WATER } |
| Enum that represents pixel type as a physical object. | |
Header with definition of all structs, enums and classes includind World.
Used in main.cpp
Implemented in classes.cpp