mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2026-01-01 09:03:41 +01:00
refactor(tileset): Renamed TileSet class to Tileset
This commit is contained in:
@@ -14,7 +14,7 @@ EXPECTED = tiled_map.Map(
|
||||
tile_size=common_types.Size(32, 32),
|
||||
version=1.4,
|
||||
tilesets={
|
||||
1: tileset.TileSet(
|
||||
1: tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_width=265,
|
||||
|
||||
@@ -127,7 +127,7 @@ EXPECTED = tiled_map.Map(
|
||||
tile_size=common_types.Size(14, 12),
|
||||
version=1.4,
|
||||
tilesets={
|
||||
1: tileset.TileSet(
|
||||
1: tileset.Tileset(
|
||||
columns=5,
|
||||
image=Path("../../images/hexmini.png"),
|
||||
image_width=106,
|
||||
|
||||
@@ -14,7 +14,7 @@ EXPECTED = tiled_map.Map(
|
||||
tile_size=common_types.Size(32, 32),
|
||||
version=1.4,
|
||||
tilesets={
|
||||
1: tileset.TileSet(
|
||||
1: tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_width=265,
|
||||
|
||||
@@ -15,7 +15,7 @@ EXPECTED = tiled_map.Map(
|
||||
version=1.4,
|
||||
background_color=common_types.Color("#ff0004"),
|
||||
tilesets={
|
||||
1: tileset.TileSet(
|
||||
1: tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_width=265,
|
||||
|
||||
@@ -2,7 +2,7 @@ from pathlib import Path
|
||||
|
||||
from pytiled_parser import tileset
|
||||
|
||||
EXPECTED = tileset.TileSet(
|
||||
EXPECTED = tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_height=199,
|
||||
|
||||
@@ -3,7 +3,7 @@ from pathlib import Path
|
||||
from pytiled_parser import tileset
|
||||
from pytiled_parser.common_types import Color
|
||||
|
||||
EXPECTED = tileset.TileSet(
|
||||
EXPECTED = tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_height=199,
|
||||
|
||||
@@ -2,7 +2,7 @@ from pathlib import Path
|
||||
|
||||
from pytiled_parser import tileset
|
||||
|
||||
EXPECTED = tileset.TileSet(
|
||||
EXPECTED = tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_height=199,
|
||||
|
||||
@@ -3,7 +3,7 @@ from pathlib import Path
|
||||
from pytiled_parser import tileset
|
||||
from pytiled_parser.common_types import Color
|
||||
|
||||
EXPECTED = tileset.TileSet(
|
||||
EXPECTED = tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_height=199,
|
||||
|
||||
@@ -3,7 +3,7 @@ from pathlib import Path
|
||||
from pytiled_parser import tileset
|
||||
from pytiled_parser.common_types import Color, OrderedPair
|
||||
|
||||
EXPECTED = tileset.TileSet(
|
||||
EXPECTED = tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_height=199,
|
||||
|
||||
@@ -3,7 +3,7 @@ from pathlib import Path
|
||||
from pytiled_parser import tileset
|
||||
from pytiled_parser.common_types import Color
|
||||
|
||||
EXPECTED = tileset.TileSet(
|
||||
EXPECTED = tileset.Tileset(
|
||||
columns=8,
|
||||
image=Path("../../images/tmw_desert_spacing.png"),
|
||||
image_height=199,
|
||||
|
||||
@@ -2,7 +2,7 @@ from pathlib import Path
|
||||
|
||||
from pytiled_parser import common_types, layer, tiled_object, tileset
|
||||
|
||||
EXPECTED = tileset.TileSet(
|
||||
EXPECTED = tileset.Tileset(
|
||||
columns=0,
|
||||
margin=0,
|
||||
spacing=0,
|
||||
|
||||
@@ -2,7 +2,7 @@ from pathlib import Path
|
||||
|
||||
from pytiled_parser import common_types, layer, tileset
|
||||
|
||||
EXPECTED = tileset.TileSet(
|
||||
EXPECTED = tileset.Tileset(
|
||||
columns=8,
|
||||
margin=1,
|
||||
spacing=1,
|
||||
|
||||
Reference in New Issue
Block a user