Merge branch 'main' into refactor_rename

# Conflicts:
#	marl_factory_grid/modules/clean_up/groups.py
#	marl_factory_grid/modules/clean_up/rules.py
#	marl_factory_grid/modules/destinations/rules.py
This commit is contained in:
Chanumask
2023-10-27 13:12:54 +02:00
31 changed files with 332 additions and 105 deletions

View File

@ -37,7 +37,7 @@ class Entities(_Objects):
return[x for val in self.pos_dict[pos] for x in val if x.var_can_collide]
def empty_positions(self):
empty_positions= [key for key in self.floorlist if self.pos_dict[key]]
empty_positions = [key for key in self.floorlist if not self.pos_dict[key]]
shuffle(empty_positions)
return empty_positions