File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def __init__(
4141 see_through_walls : bool = False ,
4242 agent_view_size : int = 7 ,
4343 render_mode : str | None = None ,
44- screen_size : int | None = 1 ,
44+ screen_size : int | None = 640 ,
4545 highlight : bool = True ,
4646 tile_size : int = TILE_PIXELS ,
4747 agent_pov : bool = False ,
@@ -197,7 +197,6 @@ def __str__(self):
197197 output = ""
198198
199199 for j in range (self .grid .height ):
200-
201200 for i in range (self .grid .width ):
202201 if i == self .agent_pos [0 ] and j == self .agent_pos [1 ]:
203202 output += 2 * AGENT_DIR_TO_STR [self .agent_dir ]
@@ -731,7 +730,6 @@ def get_frame(
731730 return self .get_full_render (highlight , tile_size )
732731
733732 def render (self ):
734-
735733 img = self .get_frame (self .highlight , self .tile_size , self .agent_pov )
736734
737735 if self .render_mode == "human" :
You can’t perform that action at this time.
0 commit comments