mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
move Chunks from Level to Player
This commit is contained in:
parent
b7664b4188
commit
1c18c02092
40 changed files with 450 additions and 220 deletions
|
|
@ -18,7 +18,7 @@ class LevelController {
|
|||
std::unique_ptr<BlocksController> blocks;
|
||||
std::unique_ptr<ChunksController> chunks;
|
||||
public:
|
||||
LevelController(Engine* engine, std::unique_ptr<Level> level);
|
||||
LevelController(Engine* engine, std::unique_ptr<Level> level, Player* clientPlayer);
|
||||
|
||||
/// @param delta time elapsed since the last update
|
||||
/// @param pause is world and player simulation paused
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue