mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
fix world previews generation
This commit is contained in:
parent
acea4604fe
commit
6bc549dd90
5 changed files with 38 additions and 25 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "BlocksController.hpp"
|
||||
#include "ChunksController.hpp"
|
||||
#include "util/Clock.hpp"
|
||||
#include "util/CallbacksSet.hpp"
|
||||
|
||||
class Engine;
|
||||
class Level;
|
||||
|
|
@ -21,6 +22,8 @@ class LevelController {
|
|||
|
||||
util::Clock playerTickClock;
|
||||
public:
|
||||
CallbacksSet<> preQuitCallbacks;
|
||||
|
||||
LevelController(Engine* engine, std::unique_ptr<Level> level, Player* clientPlayer);
|
||||
|
||||
/// @param delta time elapsed since the last update
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue