Class ParticleEmitter
java.lang.Object
dev.prozilla.pine.core.component.Component
dev.prozilla.pine.core.component.particle.ParticleEmitter
- All Implemented Interfaces:
Lifecycle
,Printable
,ApplicationContext
,ApplicationProvider
,ComponentsContext
,ComponentsProvider
,EntityContext
,EntityProvider
,SceneContext
,SceneProvider
- Direct Known Subclasses:
ParticleBurstEmitter
,ParticleFlowEmitter
Base class for particle emitter components.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe amount of particles to spawn.static final VariableProperty
<Integer> The prefab used to spawn particles. -
Constructor Summary
ConstructorsConstructorDescriptionParticleEmitter
(ParticlePrefab particlePrefab, VariableProperty<Integer> count) -
Method Summary
Methods inherited from class dev.prozilla.pine.core.component.Component
equals, getApplication, getEntity, getName, getScene, hashCode, setActive, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.prozilla.pine.core.ApplicationProvider
getConfig, getInput, getLogger, getModManager, getRenderer, getTimer, getTracker, getWindow
Methods inherited from interface dev.prozilla.pine.core.component.ComponentsProvider
getComponent, getComponentInParent, getComponentInParent, getComponents, getComponentsInChildren
Methods inherited from interface dev.prozilla.pine.core.entity.EntityContext
isDescendantOf
Methods inherited from interface dev.prozilla.pine.core.entity.EntityProvider
getChildWithTag, getFirstChild, getLastChild, getParentWithTag, getTransform, isDescendantOf
Methods inherited from interface dev.prozilla.pine.common.Lifecycle
destroy, init, init, input, input, render, render, start, update, update
Methods inherited from interface dev.prozilla.pine.core.scene.SceneProvider
getCameraData, getWorld
-
Field Details
-
particlePrefab
The prefab used to spawn particles. -
count
The amount of particles to spawn. -
DEFAULT_COUNT
-
-
Constructor Details
-
ParticleEmitter
-