mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-09-17 00:02:00 +02:00
Small adjustment and a not was missing rules
This commit is contained in:
@@ -70,7 +70,7 @@ class Entity(EnvObject, abc.ABC):
|
||||
try:
|
||||
self.bind_to(bind_to)
|
||||
except AttributeError:
|
||||
print(f'Objects of {self.__class__.__name__} can not be bound to other entities.')
|
||||
print(f'Objects of class "{self.__class__.__name__}" can not be bound to other entities.')
|
||||
exit()
|
||||
|
||||
def summarize_state(self) -> dict: # tile=str(self.tile.name)
|
||||
|
Reference in New Issue
Block a user