Files
nage/engine/lib/MapProxy.ts
T
2026-03-07 13:37:51 +01:00

14 lines
219 B
TypeScript

import type { Box } from "#/engine/Box.ts";
export default class MapProxy<K, V> {
map: Map<K, Box<V>>;
constructor() {
this.map = new Map();
}
get(key: K): Box<V> | undefined {
return this.map.get(key);
}
}