add entity events: on_attacked, on_used

This commit is contained in:
MihailRis
2024-07-16 14:04:05 +03:00
parent a36ffaacd9
commit 50050dbe40
6 changed files with 44 additions and 0 deletions
+1
View File
@@ -55,6 +55,7 @@ class PlayerController {
void updateKeyboard();
void resetKeyboard();
void updatePlayer(float delta);
void updateEntityInteraction(entityid_t eid, bool lclick, bool rclick);
void updateInteraction();
float stepsTimer = 0.0f;