mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
add debug world generator visualization
This commit is contained in:
parent
88752806e6
commit
75d66b644b
11 changed files with 116 additions and 9 deletions
|
|
@ -33,4 +33,8 @@ public:
|
|||
int loadDistance,
|
||||
int centerX,
|
||||
int centerY);
|
||||
|
||||
const WorldGenerator* getGenerator() const {
|
||||
return generator.get();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -95,6 +95,10 @@ BlocksController* LevelController::getBlocksController() {
|
|||
return blocks.get();
|
||||
}
|
||||
|
||||
ChunksController* LevelController::getChunksController() {
|
||||
return chunks.get();
|
||||
}
|
||||
|
||||
PlayerController* LevelController::getPlayerController() {
|
||||
return player.get();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,5 +34,6 @@ public:
|
|||
Player* getPlayer();
|
||||
|
||||
BlocksController* getBlocksController();
|
||||
ChunksController* getChunksController();
|
||||
PlayerController* getPlayerController();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue