mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
Saving settings
This commit is contained in:
parent
7608300750
commit
b14ef4f923
3 changed files with 6 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ public:
|
|||
class Engine {
|
||||
Assets* assets;
|
||||
std::shared_ptr<Screen> screen = nullptr;
|
||||
EngineSettings settings;
|
||||
EngineSettings& settings;
|
||||
|
||||
uint64_t frame = 0;
|
||||
double lastTime = 0.0;
|
||||
|
|
@ -31,7 +31,7 @@ class Engine {
|
|||
|
||||
gui::GUI* gui;
|
||||
public:
|
||||
Engine(const EngineSettings& settings);
|
||||
Engine(EngineSettings& settings);
|
||||
~Engine();
|
||||
|
||||
void updateTimers();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue