Package com.prineside.tdi2.shapes
Class BulletSmokeMultiLine
java.lang.Object
com.prineside.tdi2.Shape
com.prineside.tdi2.shapes.BulletSmokeMultiLine
- All Implemented Interfaces:
Pool.Poolable
,ProjectileTrail
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Shape
Shape.Factory<T extends Shape>
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
float
float
float
float
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
free()
boolean
void
reset()
Resets the object for reuse.void
void
setTexture
(TextureRegion texture, boolean mirror, boolean flip) void
setup
(float startX, float startY, float endX, float endY) void
update
(float deltaTime)
-
Field Details
-
nodesDisperseTime
public float nodesDisperseTime -
maxSegmentWidth
public float maxSegmentWidth -
maxAlpha
public float maxAlpha -
fadeInOut
public boolean fadeInOut -
minSegmentWidth
public float minSegmentWidth
-
-
Method Details
-
reset
public void reset()Description copied from interface:com.badlogic.gdx.utils.Pool.Poolable
Resets the object for reuse. Object references should be nulled and fields may be set to default values.- Specified by:
reset
in interfacePool.Poolable
-
setup
public void setup(float startX, float startY, float endX, float endY) -
setTexture
-
setColor
-
update
public void update(float deltaTime) - Specified by:
update
in interfaceProjectileTrail
-
draw
- Specified by:
draw
in interfaceProjectileTrail
- Specified by:
draw
in classShape
-
isFinished
public boolean isFinished()- Specified by:
isFinished
in interfaceProjectileTrail
-
free
public void free()- Specified by:
free
in interfaceProjectileTrail
-