Implemented basic ECS

This commit is contained in:
Simon Lübeß
2021-04-09 19:35:24 +02:00
parent 047c09017c
commit 6376bde112
5 changed files with 478 additions and 0 deletions
@@ -0,0 +1,19 @@
using GlitchyEngine.Math;
namespace GlitchyEngine.World
{
public struct TransformComponent
{
static int _id;
public static int ID {get => _id; set => _id = value; }
internal Matrix _transform;
public Matrix Transform
{
get => _transform;
set mut => _transform = value;
}
}
}