Class PolygonParticle
java.lang.Object
de.gurkenlabs.litiengine.graphics.emitters.particles.Particle
de.gurkenlabs.litiengine.graphics.emitters.particles.ShapeParticle
de.gurkenlabs.litiengine.graphics.emitters.particles.PolygonParticle
- All Implemented Interfaces:
ITimeToLive
public class PolygonParticle
extends ShapeParticle
Constructor Summary
Constructors Constructor Description PolygonParticle(float width, float height, int sides)
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
PolygonParticle
public PolygonParticle(float width, float height, int sides)
Method Details
getShape
protected java.awt.Shape getShape(java.awt.geom.Point2D emitterOrigin)- Specified by:
getShape
in classShapeParticle