precision-game/js/levels/core.mjs

12 lines
156 B
JavaScript
Raw Permalink Normal View History

2023-10-27 11:42:35 +00:00
const levels = new Map();
export function create_level (id, data) {
levels.set(id, data);
}
export function get_level (id) {
return levels.get(id);
}