public class ShimmerParticle extends RectangleFillParticle
| Constructor and Description |
|---|
ShimmerParticle(java.awt.geom.Rectangle2D boundingBox,
float width,
float height,
java.awt.Color color)
Instantiates a new shimmer particle.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Rectangle2D |
getBoundingBox()
Gets the bounding box.
|
void |
update(java.awt.geom.Point2D emitterOrigin,
float updateRateFactor)
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 ShimmerParticle(java.awt.geom.Rectangle2D boundingBox,
float width,
float height,
java.awt.Color color)
boundingBox - the bounding boxwidth - the widthheight - the heightcolor - the colorpublic java.awt.geom.Rectangle2D getBoundingBox()
public void update(java.awt.geom.Point2D emitterOrigin,
float updateRateFactor)
Particle