mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-28 15:22:28 +01:00
rf(map): alphabetize branches
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user