WIP: object, entity rework

This commit is contained in:
Chanumask
2023-10-19 17:25:31 +02:00
parent 8709b093b8
commit 8d6dcd70ae
18 changed files with 155 additions and 53 deletions

View File

@ -1,5 +1,5 @@
from marl_factory_grid.environment.entity.mixin import BoundEntityMixin
from marl_factory_grid.environment.entity.object import EnvObject
from marl_factory_grid.environment.entity.object import EnvObject, Object
from marl_factory_grid.environment.entity.entity import Entity
from marl_factory_grid.environment import constants as c
from marl_factory_grid.utils.render import RenderEntity
@ -7,7 +7,7 @@ from marl_factory_grid.utils.render import RenderEntity
from marl_factory_grid.modules.batteries import constants as b
class Battery(BoundEntityMixin, EnvObject):
class Battery(Object):
@property
def is_discharged(self):