diff --git a/pytiled_parser/common_types.py b/pytiled_parser/common_types.py index 95c7196..9d88004 100644 --- a/pytiled_parser/common_types.py +++ b/pytiled_parser/common_types.py @@ -19,7 +19,7 @@ class Size(NamedTuple): Attributes: width: The width of the object. - size: The height of the object. + height: The height of the object. """ width: Union[int, float] diff --git a/tests/test_data/simple_objects.json b/tests/test_data/simple_objects.json index 9e01620..df9342e 100644 --- a/tests/test_data/simple_objects.json +++ b/tests/test_data/simple_objects.json @@ -67,7 +67,7 @@ "name":"name: rectangle - invisible", "rotation":0, "type":"rectangle", - "visible":true, + "visible":false, "width":30.9923837671934, "x":163.910424008185, "y":91.0128452881664 @@ -102,7 +102,7 @@ "name":"name: ellipse - invisible", "rotation":0, "type":"ellipse", - "visible":true, + "visible":false, "width":6.32943048766625, "x":22.6986472661134, "y":53.9092872570194