Search in sources :

Example 1 with EnergyRangeGeneratorComponent

use of org.terasology.engine.particles.components.generators.EnergyRangeGeneratorComponent in project Terasology by MovingBlocks.

the class ParticleUpdaterImplTest method getTestGeneratorsAndAffectors.

private Iterator<Component> getTestGeneratorsAndAffectors() {
    Collection<Component> components = new LinkedList<>();
    components.add(new EnergyRangeGeneratorComponent(0.5f, 1f));
    components.add(new VelocityAffectorComponent());
    return components.iterator();
}
Also used : EnergyRangeGeneratorComponent(org.terasology.engine.particles.components.generators.EnergyRangeGeneratorComponent) VelocityAffectorComponent(org.terasology.engine.particles.components.affectors.VelocityAffectorComponent) Component(org.terasology.gestalt.entitysystem.component.Component) ParticleEmitterComponent(org.terasology.engine.particles.components.ParticleEmitterComponent) EnergyRangeGeneratorComponent(org.terasology.engine.particles.components.generators.EnergyRangeGeneratorComponent) LinkedList(java.util.LinkedList) VelocityAffectorComponent(org.terasology.engine.particles.components.affectors.VelocityAffectorComponent)

Aggregations

LinkedList (java.util.LinkedList)1 ParticleEmitterComponent (org.terasology.engine.particles.components.ParticleEmitterComponent)1 VelocityAffectorComponent (org.terasology.engine.particles.components.affectors.VelocityAffectorComponent)1 EnergyRangeGeneratorComponent (org.terasology.engine.particles.components.generators.EnergyRangeGeneratorComponent)1 Component (org.terasology.gestalt.entitysystem.component.Component)1