@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
29 lines • 738 B
TypeScript
export class LineDescription {
/**
* Unique id
* @type {string}
*/
id: string;
/**
* Comment about the line, useful for development purposes
* @type {string}
*/
comment: string;
/**
* Localization key for the line of text
* @type {string}
*/
text: string;
/**
* Time the line should be displayed on the screen before being removed, normalized value, 1 means standard, 1.5 means 50% longer
* @type {number}
*/
displayDuration: number;
fromJSON({ id, text, comment, displayDuration }: {
id: any;
text: any;
comment?: string;
displayDuration?: number;
}): void;
}
//# sourceMappingURL=LineDescription.d.ts.map