|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Light
Light superclass Each type of light must extend and implement this class.
Field Summary | |
Colour |
Intensity
Holds the colour of this light |
Constructor Summary | |
Light()
|
Method Summary | |
abstract void |
print(SceneWriter os)
Print a human readable version of the light definition to the given destination |
abstract void |
read(SceneReader is)
Read the light from the given source |
abstract void |
write(SceneWriter os)
Write the light to the given destination |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public Colour Intensity
Constructor Detail |
public Light()
Method Detail |
public abstract void read(SceneReader is) throws java.io.IOException, java.lang.NumberFormatException
is
- the source to read frompublic abstract void write(SceneWriter os) throws java.io.IOException
os
- the destination to write topublic abstract void print(SceneWriter os) throws java.io.IOException
os
- the destination to write to
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |