mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-13 11:13:50 +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);
|
|
}
|