Ejemplo n.º 1
0
 public PointLightSystem()
     : base(Selector.All(typeof(PositionComponent), typeof(PointLightComponent), typeof(UpdateComponent)))
 {
 }
Ejemplo n.º 2
0
 public OptimizationSystem() : base(Selector.All(typeof(ModelComponent), typeof(ShaderComponent)))
 {
     tShader      = ComponentTypeManager.GetType <ShaderComponent>();
     tModel       = ComponentTypeManager.GetType <ModelComponent>();
     renderMapper = new RenderMapper();
 }