mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
add entity events: on_attacked, on_used
This commit is contained in:
parent
a36ffaacd9
commit
50050dbe40
6 changed files with 44 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ struct entity_funcs_set {
|
|||
bool on_save;
|
||||
bool on_aim_on;
|
||||
bool on_aim_off;
|
||||
bool on_attacked;
|
||||
bool on_used;
|
||||
};
|
||||
|
||||
struct EntityDef;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue