Skip to content

Commit 03d7016

Browse files
fix: rotation is optional
1 parent a57ecdf commit 03d7016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytiled_parser/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class TiledObject:
262262

263263
location: OrderedPair
264264
size: Optional[Size] = None
265-
rotation: int
265+
rotation: Optional[float] = None
266266
opacity: Optional[float] = None
267267

268268
name: Optional[str] = None

0 commit comments

Comments
 (0)