public interface LightManager
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_LIGHTNING_STATUS
The default lightning status.
|
| Modifier and Type | Method and Description |
|---|---|
Light |
getLight(int i)
Return the i-th light.
|
int |
getLightNumber()
Return the number of available light.
|
boolean |
isLightningEnable()
Return the lightning status.
|
void |
setLightningEnable(boolean isLightningEnable)
Set the lightning status.
|
static final boolean DEFAULT_LIGHTNING_STATUS
int getLightNumber()
Light getLight(int i)
null is returned if i is not a valid index.i - the given index.void setLightningEnable(boolean isLightningEnable)
isLightningEnable - the new lightning status.boolean isLightningEnable()