mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
add entity events: on_aim_on, on_aim_off
This commit is contained in:
parent
54902d7f49
commit
a36ffaacd9
3 changed files with 31 additions and 0 deletions
|
|
@ -93,6 +93,8 @@ namespace scripting {
|
|||
void on_entities_render();
|
||||
void on_sensor_enter(const Entity& entity, size_t index, entityid_t oid);
|
||||
void on_sensor_exit(const Entity& entity, size_t index, entityid_t oid);
|
||||
void on_aim_on(const Entity& entity, Player* player);
|
||||
void on_aim_off(const Entity& entity, Player* player);
|
||||
|
||||
/// @brief Called on UI view show
|
||||
void on_ui_open(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue