|
1 |
| -"""Parse Tiled Maps and Tilesets |
2 |
| -
|
3 |
| -See: https://www.mapeditor.org/ |
4 |
| -
|
5 |
| -This library is for parsing JSON formatted Tiled Map Editormaps and tilesets to be |
6 |
| - used as maps and levels for 2D top-down (orthogonal, hexogonal, or isometric) |
7 |
| - or side-scrolling games in a strictly typed fashion. |
8 |
| -
|
9 |
| -PyTiled Parser is not tied to any particular graphics library or game engine. |
10 |
| -""" |
11 |
| - |
12 |
| -# pylint: disable=too-few-public-methods |
13 |
| - |
14 |
| -from .common_types import Color, OrderedPair, Size |
15 |
| -from .exception import UnknownFormat |
16 |
| -from .layer import Chunk, ImageLayer, Layer, LayerGroup, ObjectLayer, TileLayer |
17 |
| -from .parser import parse_map, parse_world |
18 |
| -from .properties import Properties, Property |
19 |
| -from .tiled_map import TiledMap |
20 |
| -from .tileset import Frame, Grid, Tile, Tileset, Transformations |
21 |
| -from .version import __version__ |
22 |
| -from .world import World, WorldMap |
| 1 | +"""Parse Tiled Maps and Tilesets |
| 2 | +
|
| 3 | +See: https://www.mapeditor.org/ |
| 4 | +
|
| 5 | +This library is for parsing JSON formatted Tiled Map Editormaps and tilesets to be |
| 6 | + used as maps and levels for 2D top-down (orthogonal, hexogonal, or isometric) |
| 7 | + or side-scrolling games in a strictly typed fashion. |
| 8 | +
|
| 9 | +PyTiled Parser is not tied to any particular graphics library or game engine. |
| 10 | +""" |
| 11 | + |
| 12 | +# pylint: disable=too-few-public-methods |
| 13 | + |
| 14 | +from .common_types import Color, OrderedPair, Size |
| 15 | +from .exception import UnknownFormat |
| 16 | +from .layer import Chunk, ImageLayer, Layer, LayerGroup, ObjectLayer, TileLayer |
| 17 | +from .parser import parse_map, parse_world |
| 18 | +from .properties import Properties, Property |
| 19 | +from .tiled_map import TiledMap |
| 20 | +from .tileset import Frame, Grid, Tile, Tileset, Transformations |
| 21 | +from .world import World, WorldMap |
0 commit comments