Exemplo n.º 1
0
 public static void ForEachOfType(GUCVobTypes type, Action <BaseVobDef> action)
 {
     BaseVobInstance.ForEachOfType(type, v => action((BaseVobDef)v.ScriptObject));
 }
Exemplo n.º 2
0
 public static int GetCountDynamicsOfType(GUCVobTypes type)
 {
     return(dynInstances.GetCountOfType(type));
 }
Exemplo n.º 3
0
 public static void ForEachDynamicOfType(GUCVobTypes type, Action <BaseVobInstance> action)
 {
     dynInstances.ForEachOfType(type, action);
 }
Exemplo n.º 4
0
 /// <summary> Gets the count of all Instances of the given type in the static Instance collection. </summary>
 public static int GetCountOfType(GUCVobTypes type)
 {
     return(instances.GetCountOfType(type));
 }
Exemplo n.º 5
0
 public int GetCountOfType(GUCVobTypes type)
 {
     return(this.typeDict[(int)type].Count);
 }
Exemplo n.º 6
0
 public void ForEachOfType(GUCVobTypes type, Action <T> action)
 {
     typeDict[(int)type].ForEach(action);
 }