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

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