Meteor2D  dev internal
Meteor is a lightweight 2D game engine.
Loading...
Searching...
No Matches
windowproperties.h
1#pragma once
2#include<string>
3#include <constants.h>
4#include <meteorutils/color.h>
5
6namespace meteor {
11 public:
12 std::string name = "Meteor2D";
13 size_t width = SCREEN_WIDTH;
14 size_t height = SCREEN_HEIGHT;
15 bool fullscreen = FULLSCREEN;
16 bool vsync = USE_VSYNC;
17 SColor backgroundColor;
18
20
21 SWindowProperties(std::string name, SColor backgroundColor) {
22 this->name = name;
23 this->backgroundColor = backgroundColor;
24 }
25 };
26}
A struct representing a color.
Definition Color.h:8
A encapsulate properties window creation.
Definition windowproperties.h:10