This commit is contained in:
Schluffe committed 2026-03-05 23:36:33 +01:00
1 parent c2dce421b3
commit c6bb4abac0
12 files changed
+131 -144

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
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): V | undefined {
return this.map.get(key)?.value;
}
}