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.
|
getShaperendergetAbsoluteLocation, getAbsoluteX, getAbsoluteY, getAliveTime, getBoundingBox, getCollisionType, getColor, getColorAlpha, getCustomRenderType, getDeltaHeight, getDeltaWidth, getDx, getDy, getGravityX, getGravityY, getHeight, getOpacity, getRenderLocation, getTimeToLive, getWidth, getX, getY, isContinuousCollisionEnabled, isFading, isFadingOnCollision, setCollisionType, setColor, setColorAlpha, setContinuousCollision, setCustomRenderType, setDeltaHeight, setDeltaIncX, setDeltaIncY, setDeltaWidth, setDeltaX, setDeltaY, setFade, setFadeOnCollision, setHeight, setWidth, setX, setY, timeToLiveReached, usesCustomRenderTypepublic 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