Skip to content

SoundContext beta ​

Interface of @v12-engine/client

ts
export interface SoundContext

What a SoundChooser is told besides the event

Members ​

cinematic ​

ts
cinematic: boolean;

Whether a cinematic is playing

entity ​

ts
entity?: EntityView;

The entity the event is about, where it has one: still there, or gone with the event (a death)

state ​

ts
state: GameState;

The game as the player knows it