configuration details from which this map was built
list of gadgets in this space
URL of the map (deprecated)
Check whether the tile at given location is walkable, i.e. no collision is defined for it.
Unsubscribe from an event by name with a specific handler.
event to unsubscribe from
callback handling the event
Subscribe to an event by name with a specific handler.
event to subscribe to
callback handling the event
Subscribe to an event, but run the handler only once. After running exactly once the handler will be immediately unsubscribed.
event to subscribe to
callback handling the event
Trigger the calls of the event handlers subscribed to the given event.
event to trigger
arguments to forward to the event handlers
Change the value of a property and trigger an event of the same name. A second event is triggered where the event name is the name of the property suffixed by the name of the operation.
The event handlers will be called with the parameters of (in this order) the new value, the old value, and a reference to this.
The method parameter specifies how the value is updated depending on
whether the property is a normal value, an array, or an object. The
respective value in parentheses is used as the suffix for the second
trigger call.
assign for normal assignment (Assign)prepend, append, and remove for arrays (Add, Add, Remove)insert, replace, and delete for objects and maps (Insert, Replace, Delete)For operations on objects, the extra parameter is used as "key" i.e.
property name.
the name of the property
the new value
how to update, see description
key to use for object operations
A visually represented map to hold gadgets and for avatars to walk around in. Belongs to a space, gets built from a config. Has collision information for each tile.
Todo
document map config, link to docs
Mixes
mixinPropertyObserver