|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--simworldobjects.BasicSimObject | +--simworldobjects.SimLight
Models a simple light source
Constructor Summary | |
SimLight(int brightness,
double x,
double y,
double z)
Sets up this light |
Method Summary | |
int |
getBrightness()
Returns the brightness of this light, this will always be a value between 0 and 100 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimLight(int brightness, double x, double y, double z)
brightness
- the intensity of the light - must be between 1 and 100x
- the light's x coordinatey
- the light's y coordinatez
- the light's z coordinateMethod Detail |
public int getBrightness()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |