diff --git a/wumpus/gridworld.py b/wumpus/gridworld.py index d4ac029d2db7d22b49f93f5d0c6060b3f908c263..ea94b287ca21f6d8ec041a12caad83b4257e7c5c 100644 --- a/wumpus/gridworld.py +++ b/wumpus/gridworld.py @@ -640,12 +640,8 @@ class Eater(Agent): class EaterWorld(GridWorld): - """ - docstring - """ - @classmethod - def random(cls, map_desc: str = None, food_amount: float = .1, **kwargs) -> 'EaterWorld': + def random(cls, **kwargs) -> 'EaterWorld': """Create a new world from the map description and randomly place food until the given percentage of the free space is filled. If the food amount is greater or equal than 1 then it's interpreted as the number of food objects to include. Args: