Set up various event callbacks. On 'init', load space.
Waytale model instance
Waytale view instance
Load a map.
Optionalspace: WaytaleSpaceWaytale space instance, defaults to currently loaded space
OptionalmapName: stringname of map to load, defaults to first map set in space config
Load a space.
Optionalurl: stringWaytale space instance, defaults to
current URL (window.location)
General space and map management. Deals with events related to loading and unloading of space and maps, including subsequent addition and removal of avatars and gadgets. Load resources like
space.jsonandmap.json.The responsibilities of this class are currently quite broad and might be split up in the future.