internal Entity CreateEntityInstance(Archetype archetype) { Entity e = CreateEntityInstance(); entityToIdentity[e.Id] = archetype.CompositionId; return e; }
internal int Create(Archetype archetype) { int id = recyclingEntityFactory.Obtain().Id; entityToIdentity[id] = archetype.CompositionId; return id; }