Class: MapLoader

MapLoader

MapLoader

new MapLoader()

MapLoader handles loading the Tiled map file and passing it to a Renderer
Source:

Methods

loadMap(filename, callback)

Loads the given map file
Parameters:
Name Type Description
filename string of map in JSON format
callback callback to be called when map is loaded
Source: