mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder
This commit is contained in:
parent
357e4f8607
commit
5e76cdfadc
41 changed files with 38 additions and 43 deletions
|
|
@ -1,19 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
|
||||
class Level;
|
||||
class LevelController;
|
||||
class Engine;
|
||||
|
||||
class ServerMainloop {
|
||||
Engine& engine;
|
||||
std::unique_ptr<LevelController> controller;
|
||||
public:
|
||||
ServerMainloop(Engine& engine);
|
||||
~ServerMainloop();
|
||||
|
||||
void run();
|
||||
|
||||
void setLevel(std::unique_ptr<Level> level);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue