h, w = fixed
This commit is contained in:
@ -12,7 +12,7 @@ from environments import helpers as h
|
||||
|
||||
|
||||
class MovementProperties(NamedTuple):
|
||||
allow_square_movement: bool = False
|
||||
allow_square_movement: bool = True
|
||||
allow_diagonal_movement: bool = False
|
||||
allow_no_op: bool = False
|
||||
|
||||
@ -111,6 +111,10 @@ class StateSlice(Register):
|
||||
|
||||
class BaseFactory(gym.Env):
|
||||
|
||||
# def __setattr__(self, key, value):
|
||||
# if isinstance(value, dict):
|
||||
|
||||
|
||||
@property
|
||||
def action_space(self):
|
||||
return spaces.Discrete(self._actions.n)
|
||||
|
Reference in New Issue
Block a user