Package com.prineside.tdi2.shapes
Class TrailMultiLine
java.lang.Object
com.prineside.tdi2.Shape
com.prineside.tdi2.shapes.TrailMultiLine
- All Implemented Interfaces:
 com.badlogic.gdx.utils.Pool.Poolable,ProjectileTrail
- 
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Shape
Shape.Factory<T extends Shape> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddraw(com.badlogic.gdx.graphics.g2d.Batch batch) voidfree()com.badlogic.gdx.graphics.ColorgetColor()booleanvoidreset()Resets the object for reuse.voidsetColor(float r, float g, float b, float a) voidsetColor(com.badlogic.gdx.graphics.Color color) voidsetHeadPosition(float x, float y) voidsetStartPoint(float x, float y) Собирает все ноды в начальной точкеvoidsetup(com.badlogic.gdx.graphics.Color color, float thickness, float duration, float segmentLength) voidupdate(float deltaTime)  
- 
Constructor Details
- 
TrailMultiLine
public TrailMultiLine() 
 - 
 - 
Method Details
- 
cloneTrail
 - 
setup
public void setup(com.badlogic.gdx.graphics.Color color, float thickness, float duration, float segmentLength)  - 
setColor
public void setColor(com.badlogic.gdx.graphics.Color color)  - 
setColor
public void setColor(float r, float g, float b, float a)  - 
getColor
public com.badlogic.gdx.graphics.Color getColor() - 
setStartPoint
public void setStartPoint(float x, float y) Собирает все ноды в начальной точке - 
setHeadPosition
public void setHeadPosition(float x, float y)  - 
allowCompletion
public void allowCompletion() - 
isFinished
public boolean isFinished()- Specified by:
 isFinishedin interfaceProjectileTrail
 - 
update
public void update(float deltaTime) - Specified by:
 updatein interfaceProjectileTrail
 - 
draw
public void draw(com.badlogic.gdx.graphics.g2d.Batch batch) - Specified by:
 drawin interfaceProjectileTrail- Specified by:
 drawin classShape
 - 
free
public void free()- Specified by:
 freein interfaceProjectileTrail
 - 
reset
public void reset()Description copied from interface:com.badlogic.gdx.utils.Pool.PoolableResets the object for reuse. Object references should be nulled and fields may be set to default values.- Specified by:
 resetin interfacecom.badlogic.gdx.utils.Pool.Poolable
 
 -