Files
pytiled_parser/pytiled_parser/__init__.py
2023-02-19 17:41:25 -05:00

22 lines
824 B
Python

"""Parse Tiled Maps and Tilesets
See: https://www.mapeditor.org/
This library is for parsing JSON formatted Tiled Map Editormaps and tilesets to be
used as maps and levels for 2D top-down (orthogonal, hexogonal, or isometric)
or side-scrolling games in a strictly typed fashion.
PyTiled Parser is not tied to any particular graphics library or game engine.
"""
# pylint: disable=too-few-public-methods
from .common_types import Color, OrderedPair, Size
from .exception import UnknownFormat
from .layer import Chunk, ImageLayer, Layer, LayerGroup, ObjectLayer, TileLayer
from .parser import parse_map, parse_world
from .properties import Properties, Property
from .tiled_map import TiledMap
from .tileset import Frame, Grid, Tile, Tileset, Transformations
from .world import World, WorldMap