@kayahr/wastelib
    Preparing search index...

    Class Tilesets

    Container for the tilesets of the two allhtds files.

    Index

    Methods

    • Returns the number of tilesets.

      Returns number

      The number of tilesets.

    • Returns the tileset with the given index.

      Parameters

      • index: number

        The tileset index.

      Returns Tileset

      The tileset.

    • Reads tilesets from the given array.

      Parameters

      • array: Uint8Array

        The array to read the tilesets from.

      Returns Tilesets

      The read tilesets.

    • Reads tilesets from the two given arrays.

      Parameters

      • array1: Uint8Array

        The array with the ALLHTDS1 file content.

      • array2: Uint8Array

        The array with the ALLHTDS2 file content.

      Returns Tilesets

      The read tilesets.

    • Reads tilesets from the given blob.

      Parameters

      • blob: Blob

        The ALLHTDS1 or ALLHTDS2 blob to read.

      Returns Promise<Tilesets>

      The read tilesets.

    • Reads tilesets from the two given blobs.

      Parameters

      • blob1: Blob

        The ALLHTDS1 blob to read.

      • blob2: Blob

        The ALLHTDS2 blob to read

      Returns Promise<Tilesets>

      The read tilesets.