diff options
| author | Aldrik Ramaekers <aldrik@amftech.nl> | 2024-01-07 12:24:38 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@amftech.nl> | 2024-01-07 12:24:38 +0100 |
| commit | 33f39cd8ef08db0007c9690992bad99edbaa1795 (patch) | |
| tree | e1e48263aaa124ca826b4c5984e3511e56bde70f /include/zombies.h | |
| parent | 1f3e6604cf2df6ae11944f99f939b8b697ebd4d9 (diff) | |
zombie hit player
Diffstat (limited to 'include/zombies.h')
| -rw-r--r-- | include/zombies.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/zombies.h b/include/zombies.h index b7c7889..ec80135 100644 --- a/include/zombies.h +++ b/include/zombies.h @@ -16,13 +16,17 @@ typedef enum t_zombie_type { typedef struct t_zombie { bool alive; - float health; - float max_health; + s32 health; + s32 max_health; vec3f position; vec3f size; array path; float speed; + float attack_range; + float attack_rate; + u32 attack_damage; float sec_since_last_step; + float sec_since_last_attack; array next_path; float time_since_last_path; pathfinding_request request; |
