Class ParticleBurstEmitter
java.lang.Object
dev.prozilla.pine.core.component.Component
dev.prozilla.pine.core.component.particle.ParticleBurstEmitter
- All Implemented Interfaces:
Lifecycle
,Printable
,ComponentFinder
,EntityFinder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VariableProperty
<Integer> static final VariableProperty
<Float> -
Constructor Summary
ConstructorsConstructorDescriptionParticleBurstEmitter
(Texture texture) ParticleBurstEmitter
(Texture texture, VariableProperty<Float> lifetime) ParticleBurstEmitter
(Texture texture, VariableProperty<Float> lifetime, VariableProperty<Integer> count) ParticleBurstEmitter
(ParticlePrefab particlePrefab, VariableProperty<Integer> count) -
Method Summary
Methods inherited from class dev.prozilla.pine.core.component.Component
equals, getCamera, getChildWithTag, getComponent, getComponentInParent, getComponentInParent, getComponents, getComponentsInChildren, getEntity, getInput, getLogger, getName, getParentWithTag, getRenderer, getTimer, getTracker, getTransform, getWindow, getWorld, hashCode, setActive, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
count
-
particlePrefab
-
DEFAULT_LIFETIME
-
DEFAULT_COUNT
-
-
Constructor Details
-
ParticleBurstEmitter
-
ParticleBurstEmitter
-
ParticleBurstEmitter
public ParticleBurstEmitter(Texture texture, VariableProperty<Float> lifetime, VariableProperty<Integer> count) -
ParticleBurstEmitter
-
-
Method Details
-
emit
public void emit() -
emit
-
emit
public void emit(float x, float y)
-