diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-27 21:49:22 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-27 21:49:22 +0100 |
commit | 0c820ace5a4688b68849fb149811fb7331e53f78 (patch) | |
tree | 26ede93402f21de51f8e915d7317ec0882b5181f /src/map.c | |
parent | 4df5f6b0ff382076e26a7463ede191107c259d5d (diff) | |
download | gold-mine-run-0c820ace5a4688b68849fb149811fb7331e53f78.tar.gz gold-mine-run-0c820ace5a4688b68849fb149811fb7331e53f78.zip |
Add Bat enemy
Diffstat (limited to 'src/map.c')
-rw-r--r-- | src/map.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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[]) |