Skip to content

FxCue beta ​

Interface of @v12-engine/engine

ts
export interface FxCue

An effect the rules play on the screens, as the engine's effect event carries it (world.fx)

Members ​

effect ​

ts
effect: string;

Which of the view's effects, by name (GameView.fx.defs)

id ​

ts
id: number;

The rules' handle on it, for world.stopFx

on ​

ts
on?: number;

Or on an entity, by its id: it follows it on the screen, at a point of its model

overFog ​

ts
overFog?: boolean;

Seen over the fog of war, by whom it is for: what is there to be noticed

params ​

ts
params?: Record<string, unknown>;

Its knobs, over the effect's own: plain data, as it goes to every screen

point ​

ts
point?: string;

The point of the entity's model it follows, by name; the entity's middle when left out

seed ​

ts
seed: number;

What its random parts go by: the same on every screen

to ​

ts
to?: PlayerId[];

Who sees it: everyone who sees the place when left out

toward ​

ts
toward?: number;

The other end of one drawn between two (FxOptions.toward): an entity by its id

tx ​

ts
tx?: number;

Or a place, east-west

tz ​

ts
tz?: number;

And north-south

x ​

ts
x?: number;

Where: a place, at a height or on the ground

y ​

ts
y?: number;

The height it is at; on the ground when left out

z ​

ts
z?: number;

The north-south place, in cells