mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-12-13 10:50:36 +01:00
new rules, new spawn logic, small fixes, default and narrow corridor debugged
This commit is contained in:
@@ -7,9 +7,12 @@ class Walls(Collection):
|
||||
_entity = Wall
|
||||
symbol = c.SYMBOL_WALL
|
||||
|
||||
@property
|
||||
def var_has_position(self):
|
||||
return True
|
||||
var_can_collide = True
|
||||
var_is_blocking_light = True
|
||||
var_can_move = False
|
||||
var_has_position = True
|
||||
var_can_be_bound = False
|
||||
var_is_blocking_pos = True
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(Walls, self).__init__(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user