From 199a5e6e9ddb13af0bb557b6ebbb2c4b8f4ce873 Mon Sep 17 00:00:00 2001 From: quou Date: Wed, 3 May 2023 07:32:34 +1000 Subject: Basic player movement. --- player.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 player.h (limited to 'player.h') 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 -- cgit v1.2.3-54-g00ecf