Function loadTileSet

  • Load an tile set from a given URL

    Parameters

    • url: string

      The URL of the image to load

    • tw: number

      The width of each tile in the image

    • th: number

      The height of each tile int he image

    • Optional id: string

      The ID to give the loaded image

    Returns TileSet

    The loaded tile set

Generated using TypeDoc