Class OverlayPixelsImageEffect

java.lang.Object
de.gurkenlabs.litiengine.graphics.ImageEffect
de.gurkenlabs.litiengine.graphics.OverlayPixelsImageEffect
All Implemented Interfaces:
ITimeToLive, java.lang.Comparable<ImageEffect>

public class OverlayPixelsImageEffect
extends ImageEffect
  • Constructor Details

    • OverlayPixelsImageEffect

      public OverlayPixelsImageEffect​(int ttl, java.awt.Color color)
      Initializes a new instance of the OverlayPixelsImageEffect.
      Parameters:
      ttl - The time to live of this effect.
      color - The color of this effect.
  • Method Details

    • apply

      public java.awt.image.BufferedImage apply​(java.awt.image.BufferedImage image)
      Specified by:
      apply in class ImageEffect
    • getColor

      public java.awt.Color getColor()