mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-25 23:47:34 +01:00
10 lines
296 B
TypeScript
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);
|
|
}
|