ALEx v0.3.0 Alex.State View Source

Convenience functions for working with state.

Link to this section Summary

Types

t()

Abstraction around ALE state.

Functions

Create a new state struct from provided state reference.

Link to this section Types

Link to this type

t()

View Source
t() :: %Alex.State{encoded: Enum.t(), length: integer(), ref: reference()}

Abstraction around ALE state.

Fields

  • :ref: Reference to ALE state.
  • :encoded: Encoded version of ALE state.
  • :length: Length of encoded state.

Link to this section Functions

Create a new state struct from provided state reference.

Returns %State{}.

Parameters

  • state: Reference to state.