Skip to content

Commit

Permalink
flake8 fix for hive
Browse files Browse the repository at this point in the history
  • Loading branch information
HokageM committed Feb 19, 2024
1 parent cb951cf commit 36230b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ninjabees/Hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from .Bee import Bee, BeeJob
from .environment.Entity import Entity, EntityType


class Hive(Entity):
def __init__(self, name, num_onlooker_bees, max_cnt_foraging_bees=100, x=0, y=0, world=None):
super().__init__(x, y, EntityType.Hive)
Expand Down Expand Up @@ -34,7 +35,6 @@ def forage(self):
self.world.add_entity(food_source)
self.food_sources.append(food_source)


def employed_bees_phase(self):
for bee in self.bee_population:
if bee.has_found_food():
Expand Down

0 comments on commit 36230b2

Please sign in to comment.