UI sprites
[gbajam22] / src / player.h
index 33abfaf..7636af5 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdint.h>
 
 struct cell;
+struct level;
 
 struct player {
        int32_t x, y;
@@ -12,6 +13,7 @@ struct player {
        struct cell *cell;
 };
 
+void init_player(struct player *p, struct level *lvl);
 void player_input(struct player *p, uint16_t bnstate);
 
 #endif /* PLAYER_H_ */