@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
42 lines • 970 B
TypeScript
export class Achievement {
/**
*
* @type {String|null}
*/
id: string | null;
/**
*
* @type {String|null}
*/
condition: string | null;
/**
*
* @type {String|null}
*/
icon: string | null;
/**
*
* @type {BlackboardTrigger|null}
*/
trigger: BlackboardTrigger | null;
/**
* Whether or not achievement is being tracked
* @type {boolean}
*/
enabled: boolean;
/**
* Secret achievements are not displayed in the UI until unlocked
* @type {boolean}
*/
secret: boolean;
fromJSON({ id, condition, icon, secret }: {
id: any;
condition: any;
icon: any;
secret?: boolean;
}): void;
getLocalizationKeyForTitle(): string;
getLocalizationKeyForDescription(): string;
}
import { BlackboardTrigger } from "../../core/model/reactive/trigger/BlackboardTrigger.js";
//# sourceMappingURL=Achievement.d.ts.map