diff options
author | quou <quou@disroot.org> | 2023-05-05 13:44:23 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-05 13:44:23 +1000 |
commit | fb104368dd33b66e0575dcc0327cbae7046a4e1e (patch) | |
tree | 67a1a66182aa8417b8fbb431576528c28f4a5ab8 /rect.h | |
parent | 280552fa4750b5dac9243782f9c0a7e0b7eea6f8 (diff) |
Add killing enemies.
Diffstat (limited to 'rect.h')
-rw-r--r-- | rect.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -7,4 +7,17 @@ typedef struct { Rectangle make_rect(int x, int y, int w, int h); +int rects_overlap(const Rectangle* a, const Rectangle* b); + +int rects_overlap2( + int x0, + int y0, + int w0, + int h0, + int x1, + int y1, + int w1, + int h1 +); + #endif |