Ejemplo n.º 1
0
        /// <summary>Initializes a new instance of the <see cref="ParallelEntityProcessingSystem"/> class.</summary>
        /// <param name="requiredType">Type of the required.</param>
        /// <param name="otherTypes">The other types.</param>
        protected ParallelEntityProcessingSystem(Type requiredType, params Type[] otherTypes)
            : base(EntitySystem.GetMergedTypes(requiredType, otherTypes))
        {
#if FULLDOTNET || CLIENTPROFILE
            this.factory = new TaskFactory(TaskScheduler.Default);
#endif
        }
 /// <summary>Initializes a new instance of the <see cref="DelayedEntityProcessingSystem"/> class.</summary>
 /// <param name="requiredType">The required component type.</param>
 /// <param name="otherTypes">Other component types.</param>
 protected DelayedEntityProcessingSystem(Type requiredType, params Type[] otherTypes)
     : base(EntitySystem.GetMergedTypes(requiredType, otherTypes))
 {
 }
Ejemplo n.º 3
0
 /// <summary>Initializes a new instance of the <see cref="IntervalEntityProcessingSystem"/> class.</summary>
 /// <param name="timeSpan">The time span.</param>
 /// <param name="requiredType">Type of the required.</param>
 /// <param name="otherTypes">The other types.</param>
 protected IntervalEntityProcessingSystem(TimeSpan timeSpan, Type requiredType, params Type[] otherTypes)
     : base(timeSpan, EntitySystem.GetMergedTypes(requiredType, otherTypes))
 {
 }