add world position properties to LdtkLevel and update scene builder

This commit is contained in:
2025-09-23 02:00:44 +02:00
parent d92e2b004e
commit 22271e741d
3 changed files with 7 additions and 5 deletions

View File

@@ -6,6 +6,12 @@ public class LdtkLevel
{
[JsonPropertyName("identifier")]
public string Identifier { get; set; }
[JsonPropertyName("worldX")]
public int WorldX { get; set; }
[JsonPropertyName("worldY")]
public int WorldY { get; set; }
[JsonPropertyName("layerInstances")]
public LdtkLayerInstance[] LayerInstances { get; set; }