12 lines
156 B
JavaScript
12 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);
|
||
|
}
|