aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
new file mode 100644
index 0000000..4983752
--- /dev/null
+++ b/src/player.h
@@ -0,0 +1,18 @@
+#include "utils.h"
+
+#ifndef PLAYER_H
+#define PLAYER_H
+
+typedef struct Player {
+ Vector3 position;
+ Vector3 direction;
+ Vector3 velocity;
+
+ Camera camera;
+ Vector2 cameraAngle;
+} Player;
+
+Player createPlayer();
+void updatePlayer(Player* player, Game* game);
+
+#endif