combustile library

A simple tile system, that provides a declarative API, with Flame Component System in mind.

Classes

AbsolutePlacement
A placement that positions the object in absolute coordinates.
CombustileObject
An object in a map.
GroupObject
A CombustileObject that groups other objects.
HorizontalRepeatObject
A CombustileObject that repeats a horizontal section of tiles.
NineBoxObject
A CombustileObject that uses a nine box to build the object itself.
Placement
A placement is a way to position and size a CombustileObject in a parent.
RelativePlacement
A placement that positions the object in relative coordinates to the parent size.
RepeatObject
A CombustileObject that repeats a tile to build the object itself.
SingleObject
A CombustileObject that uses a single tile to build the object.
Tile
A tile is a simple object that represents a position in the tileset grid.
TiledMap
A Map that holds a collection of CombustileObjects and a Tileset.
Tileset
A tileset is a collection of tiles that can be used to create a sprite.

Functions

parseAbsolutePlacement(YamlMap map) Placement
Parses an AbsolutePlacement from a YamlMap.
parsePlacement(YamlMap map) Placement
Parses a Placement from a YamlMap.
parseRelativePlacement(YamlMap map) Placement
Parses a RelativePlacement from a YamlMap.
parseTile(String value) Tile
Parses a Tile from a String.
parseVector2(String value) → Vector2
Parses a Vector2 from a String.