mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-09-17 16:12:00 +02:00
New Szenario "Two_Rooms_One_Door"
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from marl_factory_grid.environment.groups.env_objects import EnvObjects
|
||||
from marl_factory_grid.environment.groups.mixins import PositionMixin
|
||||
from marl_factory_grid.modules.destinations.entitites import Destination
|
||||
from marl_factory_grid.environment.groups.mixins import PositionMixin, HasBoundMixin
|
||||
from marl_factory_grid.modules.destinations.entitites import Destination, BoundDestination
|
||||
|
||||
|
||||
class Destinations(PositionMixin, EnvObjects):
|
||||
@@ -16,6 +16,14 @@ class Destinations(PositionMixin, EnvObjects):
|
||||
return super(Destinations, self).__repr__()
|
||||
|
||||
|
||||
class BoundDestinations(HasBoundMixin, Destinations):
|
||||
|
||||
_entity = BoundDestination
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
|
||||
class ReachedDestinations(Destinations):
|
||||
_entity = Destination
|
||||
is_blocking_light = False
|
||||
|
Reference in New Issue
Block a user