summaryrefslogtreecommitdiffhomepage
path: root/src/player.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-05-11 21:30:23 -0400
committerrealtradam <[email protected]>2024-05-11 21:30:23 -0400
commit8855c3de33c487e09b6a8fd474b0dd351ab3581c (patch)
tree37a6a5190d51375ea56c8a6012e1986e159dd168 /src/player.h
parentdf5f113e746a9c6941ccb7c2076aa52ece33923e (diff)
downloadtojam2024-8855c3de33c487e09b6a8fd474b0dd351ab3581c.tar.gz
tojam2024-8855c3de33c487e09b6a8fd474b0dd351ab3581c.zip
split screen
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h
index e6d8f66..68b5910 100644
--- a/src/player.h
+++ b/src/player.h
@@ -1,4 +1,8 @@
+#ifndef GAME_PLAYER_H
+#define GAME_PLAYER_H
+
#include "raylib.h"
+#include "input.h"
typedef
struct
@@ -6,7 +10,7 @@ struct
Vector3 position;
Vector3 direction;
float speed;
-
+ Color color;
}
Player;
@@ -15,3 +19,5 @@ drawPlayer(Player *player);
void
movePlayer(Player *player);
+
+#endif