@kitten-science/kitten-engineers
Version:
29 lines • 895 B
TypeScript
import "@kitten-science/kitten-analysts/KittenAnalysts.js";
import { type Game, type I18nEngine } from "@kitten-science/kitten-scientists/types/index.js";
declare global {
interface Window {
kittenEngineers?: KittenEngineers;
}
}
export declare class KittenEngineers {
#private;
readonly game: Game;
/**
* A function in the game that allows to retrieve translated messages.
*
* Ideally, you should never access this directly and instead use the
* i18n interface provided by `Engine`.
*/
readonly i18nEngine: I18nEngine;
constructor(game: Game, i18nEngine: I18nEngine);
/**
* Start the user script after loading and configuring it.
*/
run(): void;
start(): void;
stop(): void;
frameHandler: () => void;
savegameHandler: () => void;
snapshot(): void;
}
//# sourceMappingURL=KittenEngineers.d.ts.map