specless.minigrid.aircraftenv.MyBox
- class specless.minigrid.aircraftenv.MyBox(color, contains=None)[source]
Bases:
Box
Methods
Can this contain another object?
Can the agent overlap with this?
Can the agent pick this up?
Create an object from a 3-tuple state description
Encode the a description of this object as a 3-tuple of integers
Draw this object with the given renderer
Can the agent see behind this object?
Method to trigger/toggle an action this object performs
- can_contain()
Can this contain another object?
- can_pickup()
Can the agent pick this up?
- static decode(type_idx, color_idx, state)
Create an object from a 3-tuple state description
- encode()
Encode the a description of this object as a 3-tuple of integers
- see_behind()
Can the agent see behind this object?
- toggle(env, pos)
Method to trigger/toggle an action this object performs