Class AmbientLight

java.lang.Object
de.gurkenlabs.litiengine.graphics.ColorLayer
de.gurkenlabs.litiengine.graphics.AmbientLight
All Implemented Interfaces:
IRenderable

public class AmbientLight
extends ColorLayer
  • Field Summary

    Fields 
    Modifier and TypeFieldDescription
    static java.awt.ColorDEFAULT_COLOR 
  • Constructor Summary

    Constructors 
    ConstructorDescription
    AmbientLight​(Environment environment, java.awt.Color ambientColor)
    Instantiates a new AmbientLight instance.
  • Method Summary

    Modifier and TypeMethodDescription
    protected voidclearSection​(java.awt.Graphics2D g, java.awt.geom.Rectangle2D section) 
    protected voidrenderSection​(java.awt.Graphics2D g, java.awt.geom.Rectangle2D section) 

    Methods inherited from class de.gurkenlabs.litiengine.graphics.ColorLayer

    getColor, getEnvironment, render, setAlpha, setColor, updateSection

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AmbientLight

      public AmbientLight​(Environment environment, java.awt.Color ambientColor)
      Instantiates a new AmbientLight instance.
      Parameters:
      environment - The environment to which this instance is assigned.
      ambientColor - The color of this instance.
  • Method Details