From 8f383005a08607d88f198a4e9ba55527986a71d2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 08 Aug 2021 15:42:37 -0400 Subject: player: Add vector getter --- (limited to 'src/player.h') diff --git a/src/player.h b/src/player.h index d27500c..b180e20 100644 --- a/src/player.h +++ b/src/player.h @@ -26,6 +26,10 @@ struct mf_player * mf_player_new(struct mf_maze *maze, int cell_width); void +mf_player_get_vector(struct mf_player *p, int *x, int *y, int *travel, + int *dx, int *dy); + +void mf_player_key_event(struct mf_player *p, SDL_Event *e); int -- cgit v0.9.1