bitburner-src/src/Programs/Programs.ts
2021-09-16 18:10:28 -04:00

10 lines
296 B
TypeScript

import { Program } from "./Program";
import { programsMetadata } from "./data/ProgramsMetadata";
import { IMap } from "../types";
export const Programs: IMap<Program> = {};
for (const params of programsMetadata) {
Programs[params.key] = new Program(params.name, params.create, params.run);
}