Sandbox 1
Sandbox game that emulates different material physics
Loading...
Searching...
No Matches
classes.hpp File Reference

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>
Include dependency graph for classes.hpp:
This graph shows which files directly or indirectly include this file:

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 >, PixelPixelMap
 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.

Detailed Description

Header with definition of all structs, enums and classes includind World.

Used in main.cpp
Implemented in classes.cpp

Date
2026/03/15