Class MapGraphicRow

A row in a layer of map graphics

Hierarchy

  • MapGraphicRow

Constructors

Properties

Accessors

Methods

Constructors

Properties

_byteSize: number = 0
_tiles: MapGraphicRowTile[] = null
_tilesCount: number = null
_y: number = null

Accessors

  • get byteSize(): number
  • Returns the size of the data that this was deserialized from.

    Returns

    The size of the data that this was deserialized from

    Returns number

  • get tiles(): MapGraphicRowTile[]
  • Remarks

    • Length must be 252 or less.

    Returns MapGraphicRowTile[]

  • set tiles(tiles: MapGraphicRowTile[]): void
  • Remarks

    • Length must be 252 or less.

    Parameters

    Returns void

  • get y(): number
  • Remarks

    • Value range is 0-252

    Returns number

  • set y(y: number): void
  • Remarks

    • Value range is 0-252

    Parameters

    • y: number

    Returns void

Methods

  • Deserializes an instance of MapGraphicRow from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns MapGraphicRow

  • Serializes an instance of MapGraphicRow to the provided EoWriter.

    Parameters

    • writer: EoWriter

      the writer that the data will be serialized to

    • data: MapGraphicRow

      the data to serialize

    Returns void

Generated using TypeDoc