mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-24 04:11:36 +02:00
fixed render funciton and obsbuilder
This commit is contained in:
@ -49,9 +49,6 @@ class Battery(_Object):
|
||||
summary.update(dict(belongs_to=self._bound_entity.name, chargeLevel=self.charge_level))
|
||||
return summary
|
||||
|
||||
def render(self):
|
||||
return None
|
||||
|
||||
|
||||
class Pod(Entity):
|
||||
|
||||
|
@ -23,6 +23,10 @@ class Batteries(Collection):
|
||||
def var_has_position(self):
|
||||
return False
|
||||
|
||||
@property
|
||||
def var_can_be_bound(self):
|
||||
return True
|
||||
|
||||
@property
|
||||
def obs_tag(self):
|
||||
return self.__class__.__name__
|
||||
|
Reference in New Issue
Block a user