Java Code Examples for com.artemis.Aspect#all()

The following examples show how to use com.artemis.Aspect#all() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BaselinePositionSystem3.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public BaselinePositionSystem3() {
	super(Aspect.all(PlainPosition.class));
}
 
Example 2
Source File: PlainPositionSystem.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public PlainPositionSystem() {
	super(Aspect.all(PlainPosition.class));
}
 
Example 3
Source File: BaselinePositionSystem.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public BaselinePositionSystem() {
	super(Aspect.all(PlainPosition.class));
}
 
Example 4
Source File: PooledPositionSystem.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public PooledPositionSystem() {
	super(Aspect.all(PooledPosition.class));
}
 
Example 5
Source File: CompSystemA.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public CompSystemA() {
	super(Aspect.all(Comp1.class, Comp4.class, Comp5.class));
}
 
Example 6
Source File: PooledPositionSystem3.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public PooledPositionSystem3() {
	super(Aspect.all(PooledPosition.class));
}
 
Example 7
Source File: PlainPositionSystem2.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public PlainPositionSystem2() {
	super(Aspect.all(PlainPosition.class));
}
 
Example 8
Source File: PlainPositionSystem3.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public PlainPositionSystem3() {
	super(Aspect.all(PlainPosition.class));
}
 
Example 9
Source File: PlainPositionSystem3.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public PlainPositionSystem3() {
	super(Aspect.all(PlainPosition.class));
}
 
Example 10
Source File: PlainPositionSystem.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public PlainPositionSystem() {
	super(Aspect.all(PlainPosition.class));
}
 
Example 11
Source File: PlayerSystem.java    From Bomberman_libGdx with MIT License 4 votes vote down vote up
public PlayerSystem() {
    super(Aspect.all(Player.class, Transform.class, Renderer.class, RigidBody.class, State.class));
    fromV = new Vector2();
    toV = new Vector2();
}
 
Example 12
Source File: CompSystemB.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public CompSystemB() {
	super(Aspect.all(Comp2.class, Comp8.class, Comp9.class));
}
 
Example 13
Source File: PooledPositionSystem.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public PooledPositionSystem() {
	super(Aspect.all(PooledPosition.class));
}
 
Example 14
Source File: PowerUpSystem.java    From Bomberman_libGdx with MIT License 4 votes vote down vote up
public PowerUpSystem() {
    super(Aspect.all(PowerUp.class, RigidBody.class, Renderer.class, State.class));
}
 
Example 15
Source File: ParticleSystem.java    From Bomberman_libGdx with MIT License 4 votes vote down vote up
public ParticleSystem(SpriteBatch batch) {
    super(Aspect.all(Particle.class));
    this.batch = batch;
}
 
Example 16
Source File: BaselinePositionSystem3.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public BaselinePositionSystem3() {
	super(Aspect.all(PlainPosition.class));
}
 
Example 17
Source File: CompSystemA.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public CompSystemA() {
	super(Aspect.all(Comp1.class, Comp4.class, Comp5.class));
}
 
Example 18
Source File: CompSystemB.java    From entity-system-benchmarks with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("unchecked")
public CompSystemB() {
	super(Aspect.all(Comp2.class, Comp8.class, Comp9.class));
}
 
Example 19
Source File: BombSystem.java    From Bomberman_libGdx with MIT License 4 votes vote down vote up
public BombSystem() {
    super(Aspect.all(Bomb.class, RigidBody.class, Transform.class, State.class));

    fromV = new Vector2();
    toV = new Vector2();
}
 
Example 20
Source File: BreakableSystem.java    From Bomberman_libGdx with MIT License 4 votes vote down vote up
public BreakableSystem() {
    super(Aspect.all(Breakable.class, State.class));
}