ALEx v0.3.2 Alex.Screen View Source

Convenience functions for working with the Screen.

Link to this section Summary

Types

t()

Abstraction around ALE screen.

Functions

Creates a new Screen struct.

Link to this section Types

Link to this type

t()

View Source
t() :: %Alex.Screen{
  data: Enum.t(),
  dim: {integer(), integer()},
  grayscale: Enum.t(),
  rgb: Enum.t()
}

Abstraction around ALE screen.

Fields

  • :data: Screen data.
  • :dim: Tuple screen dimension.
  • :rgb: RGB Screen data.
  • :grayscale: Grayscale screen data.

Link to this section Functions

Creates a new Screen struct.

Returns %Screen{}.

Parameters

  • interface: %Interface{}.