diff options
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 +}; |