new MapLoader()
- 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: