From f9d1ca989330c73b97c0eb9fa7d8ad56aa24624c Mon Sep 17 00:00:00 2001 From: Benjamin Kirkbride Date: Sat, 6 Jun 2020 18:00:50 -0400 Subject: [PATCH] rf(map): don't mess with the default of the format --- pytiled_parser/map.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pytiled_parser/map.py b/pytiled_parser/map.py index 1a40fcb..7da73f8 100644 --- a/pytiled_parser/map.py +++ b/pytiled_parser/map.py @@ -43,8 +43,7 @@ class Map: background_color: The background color of the map. next_layer_id: Stores the next available ID for new layers. next_object_id: Stores the next available ID for new objects. - tile_sets: Dict of tile sets used in this map. Key is the first GID for the - tile set. The value is a TileSet object. + tile_sets: Tilesets used in this map. layers: List of layer objects by draw order. """ @@ -61,7 +60,7 @@ class Map: next_layer_id: Optional[int] next_object_id: int - tile_sets: TileSetDict + tile_sets: List[TileSet] layers: List[Layer] hex_side_length: Optional[int] = None