bitburner-src/src/Programs/Programs.ts

10 lines
296 B
TypeScript
Raw Normal View History

2021-09-05 01:09:30 +02:00
import { Program } from "./Program";
import { programsMetadata } from "./data/ProgramsMetadata";
import { IMap } from "../types";
export const Programs: IMap<Program> = {};
for (const params of programsMetadata) {
2021-09-16 01:50:44 +02:00
Programs[params.key] = new Program(params.name, params.create, params.run);
}