mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-07-05 09:01:36 +02:00
object and objects are now private
This commit is contained in:
marl_factory_grid
environment
modules
@ -3,7 +3,7 @@ import math
|
||||
import numpy as np
|
||||
|
||||
from marl_factory_grid.environment.entity.mixin import BoundEntityMixin
|
||||
from marl_factory_grid.environment.entity.object import Object, EnvObject
|
||||
from marl_factory_grid.environment.entity.object import _Object, EnvObject
|
||||
|
||||
|
||||
##########################################################################
|
||||
@ -11,7 +11,7 @@ from marl_factory_grid.environment.entity.object import Object, EnvObject
|
||||
##########################################################################
|
||||
|
||||
|
||||
class PlaceHolder(Object):
|
||||
class PlaceHolder(_Object):
|
||||
|
||||
def __init__(self, *args, fill_value=0, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
@ -30,7 +30,7 @@ class PlaceHolder(Object):
|
||||
return "PlaceHolder"
|
||||
|
||||
|
||||
class GlobalPosition(Object):
|
||||
class GlobalPosition(_Object):
|
||||
|
||||
@property
|
||||
def encoding(self):
|
||||
|
Reference in New Issue
Block a user