mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
world.lua: on_world_tick event
This commit is contained in:
parent
db62a47cc2
commit
ce687a67a3
4 changed files with 13 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ namespace scripting {
|
|||
std::unique_ptr<Environment> create_doc_environment(int parent, const std::string& name);
|
||||
|
||||
void on_world_load(Level* level, BlocksController* blocks);
|
||||
void on_world_tick();
|
||||
void on_world_save();
|
||||
void on_world_quit();
|
||||
void on_blocks_tick(const Block* block, int tps);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue