From f8b7b5930717e12ec985eef371610ead1fec8456 Mon Sep 17 00:00:00 2001 From: sebas77 Date: Wed, 10 Jan 2018 18:43:31 +0000 Subject: [PATCH] Rename EntityStructBuilder to EntityViewStructBuilder --- Svelto.ECS/ECS/EntityViewBuilder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Svelto.ECS/ECS/EntityViewBuilder.cs b/Svelto.ECS/ECS/EntityViewBuilder.cs index 73606af..7b89bcd 100644 --- a/Svelto.ECS/ECS/EntityViewBuilder.cs +++ b/Svelto.ECS/ECS/EntityViewBuilder.cs @@ -54,19 +54,19 @@ namespace Svelto.ECS readonly Type _entityViewType = typeof(EntityViewType); } - public class EntityStructBuilder : IEntityViewBuilder where EntityViewType : struct, IEntityStruct + public class EntityViewStructBuilder : IEntityViewBuilder where EntityViewType : struct, IEntityStruct { public void BuildEntityViewAndAddToList(ref ITypeSafeList list, int entityID, out IEntityView entityView) { - var lentityView = default(EntityViewType); - lentityView.ID = entityID; + var structEntityView = default(EntityViewType); + structEntityView.ID = entityID; if (list == null) list = new TypeSafeFasterListForECSForStructs(); var castedList = list as TypeSafeFasterListForECSForStructs; - castedList.Add(lentityView); + castedList.Add(structEntityView); entityView = null; }