rf(map): alphabetize branches

This commit is contained in:
Benjamin Kirkbride
2020-07-27 20:08:51 -04:00
parent 82b352d85e
commit 45aae7e8ed

View File

@@ -153,12 +153,12 @@ def cast(raw_tiled_map: _RawTiledMap) -> Map:
if raw_tiled_map.get("backgroundcolor") is not None:
map_.background_color = raw_tiled_map["backgroundcolor"]
if raw_tiled_map.get("properties") is not None:
map_.properties = properties.cast(raw_tiled_map["properties"])
if raw_tiled_map.get("hexsidelength") is not None:
map_.hex_side_length = raw_tiled_map["hexsidelength"]
if raw_tiled_map.get("properties") is not None:
map_.properties = properties.cast(raw_tiled_map["properties"])
if raw_tiled_map.get("staggeraxis") is not None:
map_.stagger_axis = raw_tiled_map["staggeraxis"]