Skip to content

FxPanelFile beta ​

Interface of @v12-engine/editor

ts
export interface FxPanelFile

A file of the game's as the Effects panel edits it: the panel's usePanelFile of FX_FILE

Members ​

file ​

ts
file: () => FxFile;

Reads the game's effects file as the panel has it now

write ​

ts
write(next: FxFile, name: string, merge?: string): void;

Writes the effects file under name as a step of the history; steps with the same merge key are one step