Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
window.h File Reference
#include <optional>
Include dependency graph for window.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Window
 Represents the game window and provides methods to modify its properties. The window encapsulates an SDL_Window, but it does not own it. The Window class is less of a wrapper and more of a controller. The actual owning is done by the Renderer.

Note that the Window class provides explicit set_xyz methods. This is to avoid juggling with boolean parameters. You describe the desired state, you do not tell it how to get there. More...