Ejemplo n.º 1
0
 public ScreenshotSystem() : base(Selector.All(typeof(ScreenshotComponent)))
 {
     IsEnabled = false;
 }
Ejemplo n.º 2
0
 public PerspectiveCameraSystem()
     : base(Selector.All(typeof(PositionComponent), typeof(OrientationComponent), typeof(CameraComponent), typeof(UpdateComponent)))
 {
 }
Ejemplo n.º 3
0
 public PostProcessingSystem() : base(Selector.All(typeof(PostProcessComponent)))
 {
     sceneCommands = new List <Command>();
 }
Ejemplo n.º 4
0
 public UserInterfaceSystem()
     : base(Selector.All(typeof(UserInterfaceComponent)))
 {
     tUserInterface = ComponentTypeManager.GetType <UserInterfaceComponent>();
 }
Ejemplo n.º 5
0

        
Ejemplo n.º 6
0
 public TransformSystem()
     : base(Selector.All(typeof(PositionComponent), typeof(UpdateComponent), typeof(TransformComponent))
            .GetOne(typeof(OrientationComponent), typeof(ScalingComponent), typeof(ParentComponent)))
 {
 }
Ejemplo n.º 7
0
 public AnimationSystem() : base(Selector.All(typeof(AnimationComponent)))
 {
 }
Ejemplo n.º 8
0
 public PointLightSystem()
     : base(Selector.All(typeof(PositionComponent), typeof(PointLightComponent), typeof(UpdateComponent)))
 {
 }
Ejemplo n.º 9
0
 public ControllerSystem() : base(Selector.All(typeof(ControllerComponent)))
 {
 }
Ejemplo n.º 10
0
 public OptimizationSystem() : base(Selector.All(typeof(ModelComponent), typeof(ShaderComponent)))
 {
     tShader      = ComponentTypeManager.GetType <ShaderComponent>();
     tModel       = ComponentTypeManager.GetType <ModelComponent>();
     renderMapper = new RenderMapper();
 }