Skip to content

Commit

Permalink
fix: disappearing bee hive
Browse files Browse the repository at this point in the history
  • Loading branch information
HokageM committed Feb 24, 2024
1 parent 4f91baa commit f2ef8d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ninjabees/environment/World.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,11 @@ def update_world_map(self):
elif entity_type == EntityType.Food:
self.__world_map[entity_y][entity_x] = f'{World.GREEN}F{World.RESET}'
elif entity_type == EntityType.Hive:
self.__world_map[entity_y][entity_x] = 'H'
# self.__world_map[entity_y][entity_x] = 'H'
pass
else:
raise ValueError("Unknown entity type")
self.__world_map[self.__hive.get_y()][self.__hive.get_x()] = 'H'

def run(self, max_iterations):
"""
Expand Down

0 comments on commit f2ef8d9

Please sign in to comment.