-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy path__init__.py
More file actions
47 lines (41 loc) · 1.22 KB
/
__init__.py
File metadata and controls
47 lines (41 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
"""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, parse_tileset
from .properties import Properties, Property
from .tiled_map import TiledMap
from .tileset import Frame, Grid, Tile, Tileset, Transformations
from .world import World, WorldMap
__all__ = [
"Color",
"OrderedPair",
"Size",
"UnknownFormat",
"Chunk",
"ImageLayer",
"Layer",
"LayerGroup",
"ObjectLayer",
"TileLayer",
"parse_map",
"parse_world",
"parse_tileset",
"Properties",
"Property",
"TiledMap",
"Frame",
"Grid",
"Tile",
"Tileset",
"Transformations",
"World",
"WorldMap",
]