From 1ae0a15ff9bb5f63a7d98af949fb22ef59a0828e Mon Sep 17 00:00:00 2001
From: Sergio <tessaris@inf.unibz.it>
Date: Wed, 7 Oct 2020 16:26:38 +0200
Subject: [PATCH] fix: GridWorld random method bug

---
 wumpus/gridworld.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/wumpus/gridworld.py b/wumpus/gridworld.py
index d4ac029..ea94b28 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:
-- 
GitLab