Module

QuickRLJS

Methods

# static listEnvs() → {Array.<string>}

Returns all registered environment names

View Source core/src/RLInterface/QuickRLJS.ts, line 31

a list of environment names

Array.<string>

# static loadEnv(name, optionsnullable, initialStatenullable) → {Environment|undefined}

load a registered environment class

Parameters:
Name Type Attributes Description
name string

Name of the environment

options EnvOptions <nullable>

options to use for instantiating environment

initialState object <nullable>

initial state of the environment

View Source core/src/RLInterface/QuickRLJS.ts, line 18

an instatiated object of the environment or undefined

Environment | undefined

# static register(name, envtype)

Register a new environment within the framework.

Parameters:
Name Type Description
name string

name of the environment to register.

envtype EnvType

The referenct to the environment class

View Source core/src/RLInterface/QuickRLJS.ts, line 39