diff options
| author | arngo <[email protected]> | 2023-05-27 16:19:37 -0400 |
|---|---|---|
| committer | arngo <[email protected]> | 2023-05-27 16:19:37 -0400 |
| commit | cbef4cf94b342df7a5fe3768caf392b5b8a82eaf (patch) | |
| tree | 969cc18c06fcb2b95e3b6055c665c7d802042b47 /src/enemies.h | |
| parent | b049a32d80aac0012a653c868263d2efc9a27fcc (diff) | |
| parent | 3c56ba6253de8f4bca750b61d08a22c5588b8ca5 (diff) | |
| download | TOJam2023-cbef4cf94b342df7a5fe3768caf392b5b8a82eaf.tar.gz TOJam2023-cbef4cf94b342df7a5fe3768caf392b5b8a82eaf.zip | |
Merge branch 'master' of github.com:realtradam/TOJam2023
Diffstat (limited to 'src/enemies.h')
| -rw-r--r-- | src/enemies.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/enemies.h b/src/enemies.h index d8e3c8f..bbf2405 100644 --- a/src/enemies.h +++ b/src/enemies.h @@ -3,10 +3,33 @@ #include "rodeo.h" typedef +enum +{ + enemy_ai_nothing, + enemy_ai_follow, + //enemy_ai_runaway, +} +enemy_ai_behavior; + +typedef +enum +{ + enemy_weapon_basic, + //enemy_weapon_fourplus, + //enemy_weapon_fourcross, +} +enemy_weapon_type; + +typedef struct { float hp; world_id id; + enemy_ai_behavior behavior; + float move_speed; + enemy_weapon_type weapon; + float firerate; + } enemy_t; #define i_val enemy_t |
