UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

29 lines 798 B
/** * Represents information about a language */ export class LanguageMetadata { static fromJSON(j: any): LanguageMetadata; /** * Measured in characters per second * @type {number} */ reading_speed: number; /** * Ordered list of fallback languages, if no value is found for a key in this language, other languages will be attempted in order * Identified by localization key * @see {@link #locale} * @type {string[]} */ fallback_languages: string[]; /** * Localization key, * @see ISO 639 * @type {string} */ locale: string; fromJSON({ reading_speed, fallback_languages }: { reading_speed?: number; fallback_languages?: any[]; }): void; } //# sourceMappingURL=LanguageMetadata.d.ts.map