AthenaClient.world.weather ​
Functions ​
changeTo ​
Usage
AthenaClient.world.weather.changeTo(nextWeather
, timeInSeconds
): Promise
<void
>
Change the weather gracefully.
Parameters ​
Name | Type |
---|---|
nextWeather | string |
timeInSeconds | number |
Returns ​
Promise
<void
>
Defined in ​
freeze ​
Usage
AthenaClient.world.weather.freeze(): void
Used to freeze the weather to a specific value.
Call this function after using the changeTo
function.
Returns ​
void
Defined in ​
isChanging ​
Usage
AthenaClient.world.weather.isChanging(): boolean
Returns ​
boolean
Defined in ​
unfreeze ​
Usage
AthenaClient.world.weather.unfreeze(): void
Unfreeze the weather function.
Returns ​
void