Initial commit
This commit is contained in:
6 files changed
+580
No files matched your search
@@ -0,0 +1,35 @@
|
||||
using System.Drawing;
|
||||
using System.Numerics;
|
||||
|
||||
namespace TrianglesToGD
|
||||
{
|
||||
[Serializable]
|
||||
public class Level
|
||||
{
|
||||
public int id = 0;
|
||||
public string name = string.Empty;
|
||||
public string description = string.Empty;
|
||||
public bool verified = false;
|
||||
public bool uploaded = false;
|
||||
public int uploadedId = -1;
|
||||
public Vector3 editorCameraPos = new();
|
||||
public float editorCameraZoom = 35.0f;
|
||||
public LevelData data = new();
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LevelData
|
||||
{
|
||||
public Color backgroundColor = Color.FromArgb(90, 90, 255);
|
||||
public Color groundColor = Color.FromArgb(60, 60, 200);
|
||||
public List<Object> objects = new();
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Object
|
||||
{
|
||||
public int id = -1;
|
||||
public Vector2 pos = new();
|
||||
public int rotation = 0;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user