Class RotationImageEffect

java.lang.Object
de.gurkenlabs.litiengine.graphics.ImageEffect
de.gurkenlabs.litiengine.graphics.RotationImageEffect
All Implemented Interfaces:
ITimeToLive, Comparable<ImageEffect>
Direct Known Subclasses:
EntityRotationImageEffect

public class RotationImageEffect extends ImageEffect
  • Constructor Details

    • RotationImageEffect

      public RotationImageEffect(int ttl, float angle)
      Initializes a new instance of the RotationImageEffect.
      Parameters:
      ttl - The time to live of this effect.
      angle - The angle by which this effect rotates the base image.
  • Method Details