Пример #1
0
 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));
 }
Пример #4
0
 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));
 }
Пример #7
0
 @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;
 }