Class RectangleParticle
java.lang.Object
de.gurkenlabs.litiengine.graphics.emitters.particles.Particle
de.gurkenlabs.litiengine.graphics.emitters.particles.ShapeParticle
de.gurkenlabs.litiengine.graphics.emitters.particles.RectangleParticle
- All Implemented Interfaces:
ITimeToLive
public class RectangleParticle
extends ShapeParticle
Constructor Summary
Constructors Constructor Description RectangleParticle(float width, float height)
Method Summary
Modifier and Type Method Description protected java.awt.Shape
getShape(java.awt.geom.Point2D emitterOrigin)
Methods inherited from class de.gurkenlabs.litiengine.graphics.emitters.particles.ShapeParticle
getBoundingBox, render
Methods inherited from class de.gurkenlabs.litiengine.graphics.emitters.particles.Particle
getAbsoluteLocation, getAbsoluteX, getAbsoluteY, getAccelerationX, getAccelerationY, getAliveTime, getAngle, getCollisionType, getColor, getCustomRenderType, getDeltaAngle, getDeltaHeight, getDeltaWidth, getHeight, getOpacity, getRenderLocation, getTimeToLive, getVelocityX, getVelocityY, getWidth, getX, getY, init, isAntiAliased, isContinuousCollisionEnabled, isFading, isFadingOnCollision, isOutlineOnly, isStoppingOnCollision, setAccelerationX, setAccelerationY, setAngle, setAntiAliasing, setCollisionType, setColor, setContinuousCollision, setCustomRenderType, setDeltaAngle, setDeltaHeight, setDeltaWidth, setFade, setFadeOnCollision, setHeight, setOutlineOnly, setStopOnCollision, setTimeToLive, setVelocityX, setVelocityY, setWidth, setX, setY, timeToLiveReached, update, usesCustomRenderType
Constructor Details
RectangleParticle
public RectangleParticle(float width, float height)
Method Details
getShape
protected java.awt.Shape getShape(java.awt.geom.Point2D emitterOrigin)- Specified by:
getShape
in classShapeParticle