mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-05-22 14:56:43 +02:00
29 lines
816 B
Python
29 lines
816 B
Python
from mfg_package.environment.groups.env_objects import EnvObjects
|
|
from mfg_package.environment.groups.mixins import PositionMixin
|
|
from mfg_package.modules.destinations.entitites import Destination
|
|
|
|
|
|
class Destinations(PositionMixin, EnvObjects):
|
|
|
|
_entity = Destination
|
|
is_blocking_light: bool = False
|
|
can_collide: bool = False
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
super().__init__(*args, **kwargs)
|
|
|
|
def __repr__(self):
|
|
return super(Destinations, self).__repr__()
|
|
|
|
|
|
class ReachedDestinations(Destinations):
|
|
_entity = Destination
|
|
is_blocking_light = False
|
|
can_collide = False
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
super(ReachedDestinations, self).__init__(*args, **kwargs)
|
|
|
|
def __repr__(self):
|
|
return super(ReachedDestinations, self).__repr__()
|