public interface R2LightScreenSingleType extends R2LightSingleType
Modifier and Type | Method and Description |
---|---|
default <A,B,E extends Throwable> |
matchLightSingle(A context,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightVolumeSingleType,B,E> on_volume,
com.io7m.jfunctional.PartialBiFunctionType<A,R2LightScreenSingleType,B,E> on_screen)
Match on the type of light.
|
arrayObject, transform
color, intensity, lightID
setColor, setIntensity
default <A,B,E extends Throwable> B matchLightSingle(A context, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightVolumeSingleType,B,E> on_volume, com.io7m.jfunctional.PartialBiFunctionType<A,R2LightScreenSingleType,B,E> on_screen) throws E extends Throwable
R2LightSingleReadableType
matchLightSingle
in interface R2LightSingleReadableType
A
- The type of context valuesB
- The type of returned valuesE
- The type of raised exceptionscontext
- A context valueon_volume
- Evaluated for volume lightson_screen
- Evaluated for screen lightsB
E
- If any of the given functions raise E
E extends Throwable
Copyright © 2017 <code@io7m.com> http://io7m.com