Class ParticleRenderer
java.lang.Object
dev.prozilla.pine.core.component.Component
dev.prozilla.pine.core.component.particle.ParticleRenderer
- All Implemented Interfaces:
Lifecycle
,Printable
,ComponentFinder
,EntityFinder
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
boolean
static final int
static final int
int
int
float
float
-
Constructor Summary
Constructors -
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
-
initialLifetime
public float initialLifetime -
lifetime
public float lifetime -
velocity
-
frameCount
public int frameCount -
animateSprite
public boolean animateSprite -
initialFrame
public int initialFrame -
DEFAULT_FRAME_COUNT
public static final int DEFAULT_FRAME_COUNT- See Also:
-
ANIMATE_SPRITE_DEFAULT
public static final boolean ANIMATE_SPRITE_DEFAULT- See Also:
-
DEFAULT_INITIAL_FRAME
public static final int DEFAULT_INITIAL_FRAME- See Also:
-
-
Constructor Details
-
ParticleRenderer
public ParticleRenderer(float lifetime)
-
-
Method Details
-
setLifetime
public void setLifetime(float lifetime) -
kill
public void kill()
-