Package com.prineside.tdi2.shapes
Class TrailMultiLine
java.lang.Object
com.prineside.tdi2.Shape
com.prineside.tdi2.shapes.TrailMultiLine
- 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> - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidfree()getColor()booleanvoidreset()Resets the object for reuse.voidsetColor(float r, float g, float b, float a) voidvoidsetHeadPosition(float x, float y) voidsetHeadPositionAndAngle(float x, float y, float angle) voidsetStartPoint(float x, float y) Собирает все ноды в начальной точкеvoidvoidupdate(float deltaTime)  
- 
Constructor Details
- 
TrailMultiLine
public TrailMultiLine() 
 - 
 - 
Method Details
- 
cloneTrail
 - 
setup
 - 
setColor
 - 
setColor
public void setColor(float r, float g, float b, float a)  - 
getColor
 - 
setStartPoint
public void setStartPoint(float x, float y) Собирает все ноды в начальной точке - 
setHeadPositionAndAngle
public void setHeadPositionAndAngle(float x, float y, float angle)  - 
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
- 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 interfacePool.Poolable
 
 -