pixelperfectengine.map.mapformat

Undocumented in source.

Public Imports

pixelperfectengine.map.mapdata
public import pixelperfectengine.map.mapdata;
Undocumented in source.

Members

Classes

BoxObject
class BoxObject

Implements a Box object. Adds a single Coordinate property to the default MapObject

MapFormat
class MapFormat

Serializes/deserializes XMF map data in SDLang format. Each layer can contain objects (eg. for marking events, clipping, or sprites if applicable), tilemapping (not for SpriteLayers), embedded data such as tilemapping or scripts, and so on.

MapFormatException
class MapFormatException
Undocumented in source.
MapObject
class MapObject

Represents a single object within a layer, that can represent many different things. All objects have a priority identifier (int), a group identifier (int), and a name.

PolylineObject
class PolylineObject
Undocumented in source.
SpriteObject
class SpriteObject

Implements a sprite object. Adds a sprite source identifier, X and Y coordinates, and two 1024 based scaling indicator.

Functions

parseColor
Color parseColor(Tag t)

Parses a color from SDLang Tag 't', then returns it as the engine's default format.

parseObject
MapObject parseObject(Tag t, int gID)

Parses an ofject from an SDLang tag.

storeColor
Tag storeColor(Color c)

Serializes the engine's color format into an SDLang Tag.

Structs

LayerInfo
struct LayerInfo

Simple LayerInfo struct, mostly for internal communications.

TileInfo
struct TileInfo

Simple TileInfo struct, mostly for internal communication and loading.

Meta