Class ParticleEmitter
java.lang.Object
dev.prozilla.pine.core.component.Component
dev.prozilla.pine.core.component.particle.ParticleEmitter
- All Implemented Interfaces:
Destructible,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
destroy, equals, getApplication, getEntity, getName, getScene, hashCode, onEntityChange, setActive, setEntity, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.prozilla.pine.core.ApplicationProvider
getAudioDevice, getConfig, getInput, getLocalStorage, getLogger, getModManager, getRenderer, getTimer, getTracker, getWindowMethods inherited from interface dev.prozilla.pine.core.component.ComponentsProvider
getComponent, getComponentInParent, getComponentInParent, getComponents, getComponentsInChildrenMethods inherited from interface dev.prozilla.pine.core.entity.EntityContext
isDescendantOfMethods inherited from interface dev.prozilla.pine.core.entity.EntityProvider
getChild, getChildWithTag, getFirstChild, getLastChild, getParentWithTag, getTransform, isDescendantOfMethods 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
-