Package lighting
Class Light
java.lang.Object
lighting.Light
- Direct Known Subclasses:
AmbientLight
,LightSource
public abstract class Light
extends java.lang.Object
An abstract base class for all kinds of light.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
colour
The colour of the light.
-
-
Constructor Details
-
Light
A constructor to set the colour of the light.- Parameters:
colour
- The colour of the light.
-