aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authornathansmith117 <thenathansmithsmith@gmail.com>2024-02-21 19:29:29 +0000
committernathansmith117 <thenathansmithsmith@gmail.com>2024-02-21 19:29:29 +0000
commit1ce1a705c61064e44f83c772b70ee9b208a4c289 (patch)
treef5e593fc4ea11a2a3dd3a186679421086af4a01e /src/util.h
parent1a677439d001e9ef481c6e932b6ca78c3733f531 (diff)
downloadPenguinYippies-1ce1a705c61064e44f83c772b70ee9b208a4c289.tar.gz
PenguinYippies-1ce1a705c61064e44f83c772b70ee9b208a4c289.tar.bz2
PenguinYippies-1ce1a705c61064e44f83c772b70ee9b208a4c289.zip
Working on pixal collision thingy
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 46193de..fba1e7f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,4 +1,5 @@
#include "gameCommon.h"
+#include "animation.h"
#include <raylib.h>
#ifndef UTIL_H
@@ -7,4 +8,7 @@
// Scale from the window to render texture.
Vector2 getScaledMousePosition();
+// Check pixals and that fun stuff.
+bool doesCollideWithAnimation(Rectangle rect, Animation* animation, Vector2 point);
+
#endif