Creates a new TileSet instance.
The width of each tile in pixels
The height of each tile in pixels
Height of each tile in the tileset
Width of each tile in the tileset
Retrieves the registered tile options for the given ID.
The unique identifier of the tile to retrieve
The registered tile options, or undefined if not found
Registers a new tile with the given ID and options.
The unique identifier for the tile
The tile options or texture to register
Represents a tileset that manages tile textures and their properties.