mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2026-01-17 16:17:13 +01:00
Changes to API
Should make integration with game engines easier in general. Puts the burden of color parsing on Pytiled. As well as formatting layer data into a two dimensional list from a straight one dimensional.
This commit is contained in:
@@ -29,6 +29,7 @@ def test_map_integration(map_test):
|
||||
|
||||
raw_maps_path = map_test / "map.json"
|
||||
|
||||
casted_map = tiled_map.cast(raw_maps_path)
|
||||
casted_map = tiled_map.parse_map(raw_maps_path)
|
||||
|
||||
expected.EXPECTED.map_file = casted_map.map_file
|
||||
assert casted_map == expected.EXPECTED
|
||||
|
||||
Reference in New Issue
Block a user