mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-26 17:02:28 +01:00
refactor(layer): make coordinates default to 0,0 because they are always set to that from Tiled
This commit is contained in:
@@ -41,7 +41,8 @@ class Layer:
|
||||
opacity: float
|
||||
visible: bool
|
||||
|
||||
coordinates: Optional[OrderedPair] = None
|
||||
coordinates: OrderedPair = OrderedPair(0, 0)
|
||||
|
||||
id: Optional[int] = None
|
||||
size: Optional[Size] = None
|
||||
offset: Optional[OrderedPair] = None
|
||||
|
||||
Reference in New Issue
Block a user