Class EntityRotationImageEffect
java.lang.Object
de.gurkenlabs.litiengine.graphics.ImageEffect
de.gurkenlabs.litiengine.graphics.RotationImageEffect
de.gurkenlabs.litiengine.graphics.EntityRotationImageEffect
- All Implemented Interfaces:
ITimeToLive
,java.lang.Comparable<ImageEffect>
public class EntityRotationImageEffect
extends RotationImageEffect
Constructor Summary
Constructors Constructor Description EntityRotationImageEffect(IEntity entity)
Initializes a new instance of theEntityRotationImageEffect
.Method Summary
Modifier and Type Method Description double
getAngle()
Methods inherited from class de.gurkenlabs.litiengine.graphics.ImageEffect
compareTo, getAliveTime, getName, getPriority, getTimeToLive, setName, setPriority, timeToLiveReached
Constructor Details
EntityRotationImageEffect
Initializes a new instance of theEntityRotationImageEffect
.- Parameters:
entity
- The entity to which this affect will be applied.
Method Details
getAngle
public double getAngle()- Overrides:
getAngle
in classRotationImageEffect