aboutsummaryrefslogtreecommitdiff
path: root/src/map.c
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-06-27 21:49:22 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-06-27 21:49:22 +0100
commit0c820ace5a4688b68849fb149811fb7331e53f78 (patch)
tree26ede93402f21de51f8e915d7317ec0882b5181f /src/map.c
parent4df5f6b0ff382076e26a7463ede191107c259d5d (diff)
downloadgold-mine-run-0c820ace5a4688b68849fb149811fb7331e53f78.tar.gz
gold-mine-run-0c820ace5a4688b68849fb149811fb7331e53f78.zip
Add Bat enemy
Diffstat (limited to 'src/map.c')
-rw-r--r--src/map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.c b/src/map.c
index c62c5c1..f7c271b 100644
--- a/src/map.c
+++ b/src/map.c
@@ -9,6 +9,7 @@
#include "entities.h"
#include "player.h"
#include "snake.h"
+#include "bat.h"
#include "map.h"
@@ -26,6 +27,7 @@ static uint8_t total_gold;
static void (* const init[])(Entity *) =
{
snake_init,
+ bat_init,
};
void map_init(const uint8_t map[])