diff options
author | zlago | 2024-10-28 10:27:19 +0100 |
---|---|---|
committer | zlago | 2024-10-28 10:29:08 +0100 |
commit | f7e4de7c45ed848312690ce6cfb62ae562e8347c (patch) | |
tree | 23d4afd3af64690c789249ce7eebb30137581657 /src/gun.h | |
parent | ee316a07cdfb01e52694edef2cc998e672e2885b (diff) |
pacer enemy [wip]
Diffstat (limited to 'src/gun.h')
-rw-r--r-- | src/gun.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gun.h b/src/gun.h new file mode 100644 index 0000000..6dac3d7 --- /dev/null +++ b/src/gun.h @@ -0,0 +1,7 @@ +#pragma once + +struct gun { + int (*update)(struct gun *self, struct entity *parent, struct entity *target); + int timer, counter; + int x, y; // offset from the parents center +}; |