mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-30 08:08:55 +01:00
changed id attribute of Layer to be optional because of it not being present in embedded object layers.
This commit is contained in:
@@ -34,12 +34,12 @@ class Layer:
|
||||
for more info.
|
||||
"""
|
||||
|
||||
id: int
|
||||
name: str
|
||||
|
||||
height: int
|
||||
width: int
|
||||
|
||||
id: Optional[int] = None
|
||||
offset: Optional[OrderedPair] = None
|
||||
opacity: Optional[float] = 1
|
||||
properties: Optional[properties_.Properties] = None
|
||||
|
||||
Reference in New Issue
Block a user