mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
add 'on_block_removed' event
This commit is contained in:
parent
b3e5f2a1c0
commit
f721731ecc
12 changed files with 61 additions and 16 deletions
|
|
@ -20,6 +20,7 @@ class LevelController {
|
|||
std::unique_ptr<ChunksController> chunks;
|
||||
|
||||
util::Clock playerTickClock;
|
||||
Player* localPlayer;
|
||||
public:
|
||||
LevelController(Engine* engine, std::unique_ptr<Level> level, Player* clientPlayer);
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ public:
|
|||
/// @param pause is world and player simulation paused
|
||||
void update(float delta, bool pause);
|
||||
|
||||
void processBeforeQuit();
|
||||
void saveWorld();
|
||||
|
||||
void onWorldQuit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue