Class LineParticle
java.lang.Object
de.gurkenlabs.litiengine.graphics.emitters.particles.Particle
de.gurkenlabs.litiengine.graphics.emitters.particles.ShapeParticle
de.gurkenlabs.litiengine.graphics.emitters.particles.LineParticle
- All Implemented Interfaces:
ITimeToLive
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ShapeParticle
getBoundingBox, renderMethods inherited from class Particle
getAbsoluteLocation, getAbsoluteX, getAbsoluteY, getAccelerationX, getAccelerationY, getAliveTime, getAngle, getCollisionType, getColor, getCustomRenderType, getDeltaAngle, getDeltaHeight, getDeltaWidth, getHeight, getOpacity, getOutlineThickness, getRenderLocation, getTimeToLive, getVelocityX, getVelocityY, getWidth, getX, getY, hasRayCastCollision, init, isAntiAliased, isContinuousCollisionEnabled, isFading, isFadingOnCollision, isOutlineOnly, isStoppingOnCollision, setAccelerationX, setAccelerationY, setAngle, setAntiAliasing, setCollisionType, setColor, setContinuousCollision, setCustomRenderType, setDeltaAngle, setDeltaHeight, setDeltaWidth, setFade, setFadeOnCollision, setHeight, setOutlineOnly, setOutlineThickness, setStopOnCollision, setTimeToLive, setVelocityX, setVelocityY, setWidth, setX, setY, timeToLiveReached, update, usesCustomRenderType
-
Constructor Details
-
LineParticle
public LineParticle(float width, float height)
-
-
Method Details
-
getShape
Description copied from class:ShapeParticleRetrieves the shape of the particle based on the emitter's origin.
This method must be implemented by subclasses to define the specific shape of the particle.
- Specified by:
getShapein classShapeParticle- Parameters:
emitterOrigin- the origin point of the emitter- Returns:
- the shape of the particle
-