From 280552fa4750b5dac9243782f9c0a7e0b7eea6f8 Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 5 May 2023 09:25:39 +1000 Subject: Add a basic enemy. --- world.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'world.h') diff --git a/world.h b/world.h index d9995ab..9709337 100644 --- a/world.h +++ b/world.h @@ -13,13 +13,14 @@ struct World { int entity_count; int recycle_bin_count; - unsigned char bitmask[max_entities]; + unsigned short bitmask[max_entities]; Entity recycle_bin[max_entities]; CSprite sprites [max_entities]; CPosition positions [max_entities]; CAnimated animateds [max_entities]; CBullet bullets [max_entities]; + CEnemy enemies [max_entities]; Player player; }; -- cgit v1.2.3-54-g00ecf