mirror of
https://github.com/dcronqvist/DotTiled.git
synced 2025-07-07 06:07:51 +03:00
38 lines
857 B
C#
38 lines
857 B
C#
namespace DotTiled.Tests;
|
|
|
|
public partial class TestData
|
|
{
|
|
public static Map MapWithInfiniteAndEmptyChunks() => new Map
|
|
{
|
|
Class = "",
|
|
Orientation = MapOrientation.Orthogonal,
|
|
Width = 5,
|
|
Height = 5,
|
|
TileWidth = 32,
|
|
TileHeight = 32,
|
|
Infinite = true,
|
|
ParallaxOriginX = 0,
|
|
ParallaxOriginY = 0,
|
|
RenderOrder = RenderOrder.RightDown,
|
|
CompressionLevel = -1,
|
|
BackgroundColor = new TiledColor { R = 0, G = 0, B = 0, A = 0 },
|
|
Version = "1.10",
|
|
TiledVersion = "1.11.0",
|
|
NextLayerID = 2,
|
|
NextObjectID = 1,
|
|
Layers = [
|
|
new TileLayer
|
|
{
|
|
ID = 1,
|
|
Name = "Tile Layer 1",
|
|
Width = 5,
|
|
Height = 5,
|
|
Data = new Data
|
|
{
|
|
Encoding = DataEncoding.Csv,
|
|
Chunks = new Optional<Chunk[]>(Array.Empty<Chunk>())
|
|
}
|
|
}
|
|
]
|
|
};
|
|
}
|