aboutsummaryrefslogtreecommitdiff
path: root/src/player.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-07-04 22:28:50 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-07-04 22:28:50 +0100
commit81efbd3a866fe3f99768b03c341b7b9d11dda9de (patch)
tree4dca4944c40c8800c198ab29d292ed3409b4a12b /src/player.c
parentb0100ff9fc763c9d3e5a72155cfa8331a1c6ac3c (diff)
downloadgold-mine-run-81efbd3a866fe3f99768b03c341b7b9d11dda9de.tar.gz
gold-mine-run-81efbd3a866fe3f99768b03c341b7b9d11dda9de.zip
Add time monster
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index c07cc34..49c032c 100644
--- a/src/player.c
+++ b/src/player.c
@@ -335,3 +335,13 @@ void player_hit()
sound_queue_efx(EFX_DEATH);
}
}
+
+uint16_t player_x()
+{
+ return x;
+}
+
+uint16_t player_y()
+{
+ return y;
+}