Class AmbientLight
java.lang.Object
de.gurkenlabs.litiengine.graphics.ColorLayer
de.gurkenlabs.litiengine.graphics.AmbientLight
- All Implemented Interfaces:
IRenderable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAmbientLight(Environment environment, Color ambientColor) Instantiates a newAmbientLightinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclearSection(Graphics2D g, Rectangle2D section) protected voidrenderSection(Graphics2D g, Rectangle2D section) Methods inherited from class de.gurkenlabs.litiengine.graphics.ColorLayer
getColor, getEnvironment, render, setAlpha, setColor, updateSection
-
Field Details
-
DEFAULT_COLOR
-
-
Constructor Details
-
AmbientLight
Instantiates a newAmbientLightinstance.- Parameters:
environment- The environment to which this instance is assigned.ambientColor- The color of this instance.
-
-
Method Details
-
renderSection
- Specified by:
renderSectionin classColorLayer- See Also:
-
clearSection
- Specified by:
clearSectionin classColorLayer
-