remove unnecessary data structs Dict+MapArray
This commit is contained in:
1 parent
2f7957b28a
commit
7b3c9865fe
10 files changed
+12
-466
No files matched your search
@@ -13,13 +13,13 @@ sceneChangeSet.add((sceneData) => {
|
||||
drawables.length = 0;
|
||||
|
||||
const sprites = [
|
||||
...sceneComponentsMap.get(sceneData.name)!.get("sprite")!.map.values(),
|
||||
...sceneComponentsMap.get(sceneData.name)!.get("sprite")!.values(),
|
||||
] as Array<Box<Sprite>>;
|
||||
|
||||
sceneComponentsMap
|
||||
.get(sceneData.name)!
|
||||
.get("position")!
|
||||
.map.values()
|
||||
.values()
|
||||
.forEach((box, index) => {
|
||||
drawables.push({
|
||||
position: box as Box<Vector>,
|
||||
|
||||
Reference in new issue
Block a user