public class LightParticle extends RectangleFillParticle
Constructor and Description |
---|
LightParticle(float maxWidth,
float maxHeight,
float width,
float height,
java.awt.Color color,
int life) |
Modifier and Type | Method and Description |
---|---|
void |
update(java.awt.geom.Point2D origin,
float updateRatio)
Updates the effect's position, change in xCurrent, change in yCurrent,
remaining lifetime, and color.
|
getShape
render
getAbsoluteLocation, getAbsoluteX, getAbsoluteY, getAliveTime, getBoundingBox, getCollisionType, getColor, getColorAlpha, getCustomRenderType, getDeltaHeight, getDeltaWidth, getDx, getDy, getGravityX, getGravityY, getHeight, getOpacity, getRenderLocation, getTimeToLive, getWidth, getX, getY, isContinuousCollisionEnabled, isFading, isFadingOnCollision, isStoppingOnCollision, setCollisionType, setColor, setColorAlpha, setContinuousCollision, setCustomRenderType, setDeltaHeight, setDeltaIncX, setDeltaIncY, setDeltaWidth, setDeltaX, setDeltaY, setFade, setFadeOnCollision, setHeight, setStopOnCollision, setWidth, setX, setY, timeToLiveReached, usesCustomRenderType
public LightParticle(float maxWidth, float maxHeight, float width, float height, java.awt.Color color, int life)
public void update(java.awt.geom.Point2D origin, float updateRatio)
Particle