Skip to content

Commit f31f9db

Browse files
committed
Add ldtktypes to git
1 parent 58a62cb commit f31f9db

File tree

19 files changed

+349
-0
lines changed

19 files changed

+349
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.World;
4+
5+
using Microsoft.Xna.Framework;
6+
using LDtk;
7+
8+
public class CustomLevelDataName
9+
{
10+
public float Float { get; set; }
11+
public TilesetRectangle[] Tile { get; set; }
12+
public string? Multilines { get; set; }
13+
}
14+
#pragma warning restore
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.World;
4+
5+
using Microsoft.Xna.Framework;
6+
using LDtk;
7+
8+
public class Enemy : ILDtkEntity
9+
{
10+
public string Identifier { get; set; }
11+
public System.Guid Iid { get; set; }
12+
public int Uid { get; set; }
13+
public Vector2 Position { get; set; }
14+
public Vector2 Size { get; set; }
15+
public Vector2 Pivot { get; set; }
16+
public Rectangle Tile { get; set; }
17+
18+
public Color SmartColor { get; set; }
19+
20+
public Vector2[] Wander { get; set; }
21+
public EnemyType Type { get; set; }
22+
public Color Color { get; set; }
23+
}
24+
#pragma warning restore
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.World;
4+
5+
using Microsoft.Xna.Framework;
6+
using LDtk;
7+
8+
public class Gun_Pickup : ILDtkEntity
9+
{
10+
public string Identifier { get; set; }
11+
public System.Guid Iid { get; set; }
12+
public int Uid { get; set; }
13+
public Vector2 Position { get; set; }
14+
public Vector2 Size { get; set; }
15+
public Vector2 Pivot { get; set; }
16+
public Rectangle Tile { get; set; }
17+
18+
public Color SmartColor { get; set; }
19+
20+
}
21+
#pragma warning restore
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.World;
4+
5+
using Microsoft.Xna.Framework;
6+
using LDtk;
7+
8+
public class Player : ILDtkEntity
9+
{
10+
public string Identifier { get; set; }
11+
public System.Guid Iid { get; set; }
12+
public int Uid { get; set; }
13+
public Vector2 Position { get; set; }
14+
public Vector2 Size { get; set; }
15+
public Vector2 Pivot { get; set; }
16+
public Rectangle Tile { get; set; }
17+
18+
public Color SmartColor { get; set; }
19+
20+
}
21+
#pragma warning restore
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.World;
4+
5+
using Microsoft.Xna.Framework;
6+
using LDtk;
7+
8+
public class RefTest : ILDtkEntity
9+
{
10+
public string Identifier { get; set; }
11+
public System.Guid Iid { get; set; }
12+
public int Uid { get; set; }
13+
public Vector2 Position { get; set; }
14+
public Vector2 Size { get; set; }
15+
public Vector2 Pivot { get; set; }
16+
public Rectangle Tile { get; set; }
17+
18+
public Color SmartColor { get; set; }
19+
20+
public EntityRef? Test { get; set; }
21+
public TilesetRectangle? TileTest { get; set; }
22+
public float? Float { get; set; }
23+
public EnemyType? EnemyType { get; set; }
24+
}
25+
#pragma warning restore
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.World;
4+
5+
public enum EnemyType
6+
{
7+
YellowBee,
8+
BlueBee,
9+
Slug,
10+
}
11+
#pragma warning restore
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.World;
4+
5+
public static class Worlds
6+
{
7+
public static class World
8+
{
9+
public static readonly System.Guid Iid = System.Guid.Parse("2c81d720-b4d0-11ec-9871-056972512958");
10+
11+
public static readonly System.Guid Level_1 = System.Guid.Parse("2038b2a1-8dc0-11ec-a0e2-e5abc8178676");
12+
public static readonly System.Guid Level_0 = System.Guid.Parse("2039c410-8dc0-11ec-a0e2-db95660971f6");
13+
}
14+
}
15+
#pragma warning restore
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes;
4+
5+
using Microsoft.Xna.Framework;
6+
using LDtk;
7+
8+
public class LDtkLevelData
9+
{
10+
public float Float { get; set; }
11+
public TilesetRectangle[] Tile { get; set; }
12+
public string? Multilines { get; set; }
13+
}
14+
#pragma warning restore
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.ExternalLevelsWorld;
4+
5+
public static class Worlds
6+
{
7+
public static class World
8+
{
9+
public static readonly System.Guid Iid = System.Guid.Parse("77d2f4c0-02f0-11ed-b6c7-19404d91fbca");
10+
11+
public static readonly System.Guid Level_0 = System.Guid.Parse("77d342e0-02f0-11ed-b6c7-7b47c003777d");
12+
public static readonly System.Guid Level_1 = System.Guid.Parse("9b713120-02f0-11ed-9a3d-f784794b7978");
13+
}
14+
}
15+
#pragma warning restore
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// This file was automatically generated, any modifications will be lost!
2+
#pragma warning disable
3+
namespace LDtkTypes.ExternalLevelsWorld;
4+
5+
using Microsoft.Xna.Framework;
6+
using LDtk;
7+
8+
public class LDtkLevelData
9+
{
10+
}
11+
#pragma warning restore

0 commit comments

Comments
 (0)