From 63a5643763a8616a86f3f2f6e756eb938f6c993a Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Tue, 31 Oct 2023 15:02:56 -0700 Subject: [PATCH] add CreateEntity to Manipulator --- src/Rev2/Compatibility/Manipulator.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Rev2/Compatibility/Manipulator.cs b/src/Rev2/Compatibility/Manipulator.cs index cef513c..a779b31 100644 --- a/src/Rev2/Compatibility/Manipulator.cs +++ b/src/Rev2/Compatibility/Manipulator.cs @@ -4,6 +4,7 @@ public class Manipulator : EntityComponentReader { public Manipulator(World world) : base(world) { } + protected EntityId CreateEntity(string tag = "") => World.CreateEntity(tag); protected void Set(in EntityId entity, in TComponent component) where TComponent : unmanaged => World.Set(entity, component); protected void Remove(in EntityId entity) where TComponent : unmanaged => World.Remove(entity);