use of de.gurkenlabs.litiengine.graphics.AmbientLight in project litiengine by gurkenlabs.
the class Environment method addAmbientLight.
private void addAmbientLight() {
final int ambientAlpha = this.getMap().getCustomPropertyInt(MapProperty.AMBIENTALPHA);
final Color ambientColor = this.getMap().getCustomPropertyColor(MapProperty.AMBIENTCOLOR, Color.WHITE);
this.ambientLight = new AmbientLight(this, ambientColor, ambientAlpha);
}
Aggregations