Skip to content
On this page

AthenaClient.world.weather

Functions

changeTo

Usage

AthenaClient.world.weather.changeTo(nextWeather, timeInSeconds): Promise<void>

Change the weather gracefully.

Parameters

NameType
nextWeatherstring
timeInSecondsnumber

Returns

Promise<void>

Defined in

client/world/weather.ts:40


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

client/world/weather.ts:20


isChanging

Usage

AthenaClient.world.weather.isChanging(): boolean

Returns

boolean

Defined in

client/world/weather.ts:9


unfreeze

Usage

AthenaClient.world.weather.unfreeze(): void

Unfreeze the weather function.

Returns

void

Defined in

client/world/weather.ts:29

Created by Stuyk | Est. 2020