From be0a3812e3bd49245756c957cde65b96b5b9e4e3 Mon Sep 17 00:00:00 2001 From: Benjamin Kirkbride Date: Sun, 7 Jun 2020 21:33:55 -0400 Subject: [PATCH] stub(layer): get common attributes --- pytiled_parser/layer.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pytiled_parser/layer.py b/pytiled_parser/layer.py index d0add67..06d7a27 100644 --- a/pytiled_parser/layer.py +++ b/pytiled_parser/layer.py @@ -206,6 +206,17 @@ def _cast_chunk(raw_chunk: RawChunk) -> Chunk: return chunk +def _get_common_attributes(raw_layer: RawLayer) -> Layer: + """ Create a Layer containing all the attributes common to all layers + + Args: + raw_layer: Raw Tiled object get common attributes from + + Returns: + Layer: The attributes in common of all layers + """ + + def _cast_tile_layer(raw_layer: RawLayer) -> TileLayer: pass