From 5c98e374f84db15a9650e1ff9283385ef30f533c Mon Sep 17 00:00:00 2001 From: Benjamin Kirkbride Date: Sat, 30 May 2020 23:27:57 -0400 Subject: [PATCH] rf(common_types): int is implied by float --- pytiled_parser/common_types.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pytiled_parser/common_types.py b/pytiled_parser/common_types.py index 9d88004..41c03f3 100644 --- a/pytiled_parser/common_types.py +++ b/pytiled_parser/common_types.py @@ -22,8 +22,8 @@ class Size(NamedTuple): height: The height of the object. """ - width: Union[int, float] - height: Union[int, float] + width: float + height: float class OrderedPair(NamedTuple): @@ -34,5 +34,5 @@ class OrderedPair(NamedTuple): y: Y coordinate. """ - x: Union[int, float] - y: Union[int, float] + x: float + y: float