Ejemplo n.º 1
0
 public EntitiesSubmitter(EnginesRoot enginesRoot) : this()
 {
     _enginesRoot           = new Svelto.DataStructures.WeakReference <EnginesRoot>(enginesRoot);
     _privateSubmitEntities =
         _enginesRoot.Target.SingleSubmission(new PlatformProfiler());
     submitEntities = Invoke(); //this must be last to capture all the variables
 }
 static void RemoveGroup(ExclusiveGroupStruct groupID, EnginesRoot enginesRoot)
 {
     using (var sampler = new PlatformProfiler("remove whole group"))
     {
         enginesRoot.RemoveEntitiesFromGroup(groupID, sampler);
     }
 }
Ejemplo n.º 3
0
 public EntitiesSubmitter(EnginesRoot enginesRoot) : this()
 {
     _weakReference = new Svelto.DataStructures.WeakReference <EnginesRoot>(enginesRoot);
 }
 public GenericEntityFactory(EnginesRoot weakReference)
 {
     _enginesRoot = new WeakReference <EnginesRoot>(weakReference);
 }
Ejemplo n.º 5
0
 internal GenericEntityFunctions(EnginesRoot weakReference)
 {
     _enginesRoot = new Svelto.DataStructures.WeakReference <EnginesRoot>(weakReference);
 }
Ejemplo n.º 6
0
 internal EntitiesDB(EnginesRoot enginesRoot, EnginesRoot.EntityReferenceMap entityReferencesMap)
 {
     _enginesRoot         = enginesRoot;
     _entityReferencesMap = entityReferencesMap;
 }
Ejemplo n.º 7
0
 internal EntitiesDB(EnginesRoot enginesRoot, EnginesRoot.LocatorMap entityLocator)
 {
     _enginesRoot   = enginesRoot;
     _entityLocator = entityLocator;
 }
 public GenericEntityFactory(EnginesRoot weakReference)
 {
     _enginesRoot = new Svelto.DataStructures.WeakReference <EnginesRoot>(weakReference);
 }
 internal GenericEntityFunctions(EnginesRoot weakReference)
 {
     _enginesRoot = new WeakReference <EnginesRoot>(weakReference);
 }
 public GenericEntityStreamConsumerFactory(EnginesRoot weakReference)
 {
     _enginesRoot = new WeakReference <EnginesRoot>(weakReference);
 }
Ejemplo n.º 11
0
 internal EntitiesDB(EnginesRoot enginesRoot)
 {
     _enginesRoot = enginesRoot;
 }
 static void SwapGroup(ExclusiveGroupStruct fromGroupID, ExclusiveGroupStruct toGroupID, EnginesRoot enginesRoot)
 {
     using (var sampler = new PlatformProfiler("swap whole group"))
     {
         enginesRoot.SwapEntitiesBetweenGroups(fromGroupID, toGroupID, sampler);
     }
 }
 public EntityLocatorMap(EnginesRoot enginesRoot)
 {
     _enginesRoot = new WeakReference <EnginesRoot>(enginesRoot);
 }