Ecs changes

- BitArray has always at least sizeof(uint) bits
- Renamed Entity to EcsEntity
- Added value parameter to EcsWorld.AssignComponent
- Matched EcsWorld generic parameters
- Added Scene
- Added Entity
This commit is contained in:
Simon Lübeß
2022-02-28 23:34:52 +01:00
parent ba5ccd7107
commit 9197a209d6
16 changed files with 270 additions and 100 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ namespace GlitchyEngine.World
}
}
private static void UpdateEntity(Entity entity, TransformComponent* transform, EcsWorld world)
private static void UpdateEntity(EcsEntity entity, TransformComponent* transform, EcsWorld world)
{
// Todo: test scaling with deep hierarchies!