-
Nested Class Summary
Nested Classes
-
Method Summary
Creates a new weather with given type, remaining duration and no running duration
Creates a new weather with given type, remaining duration and no running duration
Creates a new weather with given type, remaining duration and no running duration
Creates a new weather with given type, remaining duration and no running duration
Gets the remaining
Ticks
of this weather.
Gets the number of
Ticks
that the weather has ran for.
-
Method Details
-
-
remainingDuration
Ticks remainingDuration()
Gets the remaining
Ticks
of this weather.
- Returns:
- The remaining duration
-
runningDuration
Gets the number of
Ticks
that the weather has ran for.
- Returns:
- The running duration
-
of
Creates a new weather with given type, remaining duration and no running duration
- Parameters:
type
- The weather type
duration
- The weather remaining duration
- Returns:
- The new weather
-
of
Creates a new weather with given type, remaining duration and no running duration
- Parameters:
type
- The weather type
duration
- The weather remaining duration
- Returns:
- The new weather
-
of
Creates a new weather with given type, remaining duration and no running duration
- Parameters:
type
- The weather type
duration
- The weather remaining duration
- Returns:
- The new weather
-
of
Creates a new weather with given type, remaining duration and no running duration
- Parameters:
type
- The weather type
duration
- The weather remaining duration
- Returns:
- The new weather