CutEnv beta
Class of @v12-engine/client
export declare class CutEnvThe world's look on this screen (cut.env): see the top of this file
Members
constructor
constructor(cut: Cut);Constructs a new instance of the CutEnv class
apply
apply(change: Partial<MapEnvironment>, seconds?: number): void;The look changed at once, as look does, with no step to wait on: what the env lane does
fog
fog(fog: MapEnvironment['fog'], seconds?: number): Promise<void>;The mist by distance on this screen
hour
hour(hour: number | null, seconds?: number, ease?: Ease | string): Promise<void>;The hour the screen draws (the sky, the light, the lamps), eased to over seconds the short way round the clock; the world's own hour goes on. null gives the world's back
look
look(change: Partial<MapEnvironment>, seconds?: number): Promise<void>;The map's look changed on this screen (MapEnvironment, field by field), eased into over seconds
reset
reset(seconds?: number): void;The map's look and the hour as they were before the cinematic changed them, over seconds
showHour
showHour(hour: number): void;The hour drawn set at once, as hour does with no seconds: what the env lane does each frame
weather
weather(weather: MapEnvironment['weather'] | null, seconds?: number): Promise<void>;The weather on this screen: a kind of it (rain, snow, the game's) and how much, or none
wind
wind(wind: MapEnvironment['wind'], seconds?: number): Promise<void>;The wind on this screen