Class EntityRotationImageEffect
java.lang.Object
de.gurkenlabs.litiengine.graphics.ImageEffect
de.gurkenlabs.litiengine.graphics.RotationImageEffect
de.gurkenlabs.litiengine.graphics.EntityRotationImageEffect
- All Implemented Interfaces:
ITimeToLive,Comparable<ImageEffect>
-
Constructor Summary
ConstructorsConstructorDescriptionEntityRotationImageEffect(IEntity entity) Initializes a new instance of theEntityRotationImageEffect. -
Method Summary
Methods inherited from class de.gurkenlabs.litiengine.graphics.RotationImageEffect
applyMethods 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:
getAnglein classRotationImageEffect
-