mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add entity event: on_fall
This commit is contained in:
parent
3946119a67
commit
50c714692a
5 changed files with 39 additions and 10 deletions
|
|
@ -78,7 +78,8 @@ namespace scripting {
|
|||
|
||||
scriptenv on_entity_spawn(const EntityDef& def, entityid_t eid, entity_funcs_set&);
|
||||
bool on_entity_despawn(const EntityDef& def, const Entity& entity);
|
||||
bool on_entity_grounded(const EntityDef& def, const Entity& entity);
|
||||
bool on_entity_grounded(const Entity& entity, float force);
|
||||
bool on_entity_fall(const Entity& entity);
|
||||
void on_entities_update();
|
||||
|
||||
/// @brief Called on UI view show
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue