add entity events: on_aim_on, on_aim_off

This commit is contained in:
MihailRis
2024-07-16 13:42:58 +03:00
parent 54902d7f49
commit a36ffaacd9
3 changed files with 31 additions and 0 deletions
+2
View File
@@ -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(