mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-22 14:56:43 +02:00
25 lines
462 B
Python
25 lines
462 B
Python
from marl_factory_grid.environment.groups.collection import Collection
|
|
|
|
from .entitites import Machine
|
|
|
|
|
|
class Machines(Collection):
|
|
|
|
_entity = Machine
|
|
|
|
@property
|
|
def var_can_collide(self):
|
|
return False
|
|
|
|
@property
|
|
def var_is_blocking_light(self):
|
|
return False
|
|
|
|
@property
|
|
def var_has_position(self):
|
|
return True
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
super(Machines, self).__init__(*args, **kwargs)
|
|
|