summaryrefslogtreecommitdiffhomepage
path: root/src/player.h
diff options
context:
space:
mode:
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