precision-game/js/levels/core.mjs
2023-10-27 13:42:35 +02:00

11 lines
156 B
JavaScript

const levels = new Map();
export function create_level (id, data) {
levels.set(id, data);
}
export function get_level (id) {
return levels.get(id);
}