cbt-game-generator
Version:
Configuration generator for CBT animation apps
18 lines (17 loc) • 671 B
TypeScript
export declare class FileUpdater {
private gamePath;
private gameName;
private numberOfVariants;
constructor(gamePath: string, gameName: string, numberOfVariants: number);
updateTypes(subLoIndex: number, isIncremental?: boolean): void;
private updateTagTypes;
updateConstants(subLoIndex: number, targets: string[]): void;
private updateTargets;
private updateVariantsConfig;
updateMain(subLoIndex: number): void;
copyAndUpdateSubLoFiles(subLoIndex: number, targets: string[]): void;
private copyAndUpdateBaseConfig;
private copyAndUpdateVariantFile;
private generateUniqueId;
private doesSubLoDirectoryExist;
}