public TextureRenderSystem(final float interval) {
   super(
       Aspect.getAspectForAll(TextureComponent.class, TransformComponent.class)
           .exclude(BackgroundComponent.class),
       interval);
   this.temp2 = new Vector2();
   this.temp2_1 = new Vector2();
 }
 @SuppressWarnings("unchecked")
 public GlobalScriptSystem() {
   super(Aspect.getAspectForAll(ScriptComponent.class));
 }
示例#3
0
 public CameraSystem() {
   super(Aspect.getAspectForAll(Camera.class));
 }
 public TreeAttachSystem() {
   super(Aspect.getAspectForAll(TransformComponent.class));
   roots = new ArrayBag<>();
 }
示例#5
0
 @SuppressWarnings("unchecked")
 public HealingSystem(final float interval) {
   super(Aspect.getAspectForAll(Health.class), interval);
 }
 @SuppressWarnings("unchecked")
 public PlainPositionSystem2() {
   super(Aspect.getAspectForAll(PlainPosition.class));
 }
 @SuppressWarnings("unchecked")
 public ShapeRenderSystem(OrthographicCamera camera) {
   super(Aspect.getAspectForAll(Position.class).one(Circle.class, Rectangle.class));
   this.camera = camera;
 }
 @SuppressWarnings("unchecked")
 public PoliciesSystem() {
   super(Aspect.getAspectForAll(Policies.class));
 }
 public CostRenderSystem() {
   super(Aspect.getAspectForAll(Pos.class, Anim.class, Bounds.class, Buildable.class));
 }
示例#10
0
 public SomeSystem() {
   super(Aspect.getAspectForAll(ExtPosition.class).exclude(Position.class));
 }
 public MapCollisionSystem() {
   super(Aspect.getAspectForAll(Physics.class, Pos.class, Bounds.class));
 }
 @SuppressWarnings("unchecked")
 public BombAttackerScriptingSystem(ScriptEngine engine) {
   super(Aspect.getAspectForAll(Script.class, BombAttacker.class, Velocity.class));
   this.engine = engine;
 }