aboutsummaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-03 07:32:34 +1000
committerquou <quou@disroot.org>2023-05-03 07:32:34 +1000
commit199a5e6e9ddb13af0bb557b6ebbb2c4b8f4ce873 (patch)
tree2253af9926b3d0d1e3065d910cf16db957b2eedf /player.h
parent65fa1051585f5345c3270db73ab53b7a0dbbaa50 (diff)
Basic player movement.
Diffstat (limited to 'player.h')
-rw-r--r--player.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/player.h b/player.h
new file mode 100644
index 0000000..37a7f2a
--- /dev/null
+++ b/player.h
@@ -0,0 +1,13 @@
+#ifndef player_h
+#define player_h
+
+struct World;
+
+typedef struct {
+ int entity;
+} Player;
+
+void init_player(Player* player, struct World* world);
+void update_player(Player* player, struct World* world);
+
+#endif