From 0c820ace5a4688b68849fb149811fb7331e53f78 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Tue, 27 Jun 2023 21:49:22 +0100 Subject: Add Bat enemy --- src/map.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map.c') 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[]) -- cgit v1.2.3