A generic level map implementation.
A map has
MapProperties which describe general attributes. Availability of properties depends on the type of map, e.g.
what format is was loaded from etc.
A map has
MapLayers. Map layers are ordered and indexed. A
MapLayer contains
MapObjects which represent
things within the layer. Different types of
MapObject are available, e.g.
CircleMapObject,
TextureMapObject, and so on.
A map can be rendered by a
MapRenderer. A MapRenderer implementation may chose to only render specific MapObject or
MapLayer types.
There are more specialized implementations of Map for specific use cases. e.g. the
TiledMap class and its associated
classes add functionality specifically for tile maps on top of the basic map functionality.
Maps must be disposed through a call to
dispose() when no longer used.