Modifier and Type | Method and Description |
---|---|
long |
getRemainingDuration()
Gets the remaining duration of the current
Weather . |
long |
getRunningDuration()
Gets the duration the current
Weather has been running for. |
Weather |
getWeather()
Gets the current
Weather in this volume. |
void |
setWeather(Weather weather)
Sets the
Weather of the volume with a random duration. |
void |
setWeather(Weather weather,
long duration)
Sets the
Weather of the volume with the specified duration. |
Weather getWeather()
Weather
in this volume.long getRemainingDuration()
Weather
.long getRunningDuration()
Weather
has been running for.void setWeather(Weather weather)
Weather
of the volume with a random duration.weather
- The new Weather
.