(self, env)
Take action on reset for environments that are fixed until firing.
Take action on reset for environments that are fixed until firing.
Take action on reset for environments that are fixed until firing .
def __init__(self, env):
        """Take action on reset for environments that are fixed until firing."""
        gym.Wrapper.__init__(self, env)
        assert env.unwrapped.get_action_meanings()[1] == 'FIRE'
        assert len(env.unwrapped.get_action_meanings()) >= 3
def __init__ ( self , env ) : gym . Wrapper . __init__ ( self , env ) assert env . unwrapped . get_action_meanings ( ) [ 1 ] == 'FIRE' assert len ( env . unwrapped . get_action_meanings ( ) ) >= 3