issues
search
rrbox
/
ecs-swift
Entity Component System for swift
MIT License
3
stars
0
forks
source link
Feat/sparse set #15
#69
Closed
rrbox
closed
4 months ago
rrbox
commented
4 months ago
63 のブランチとして作成されました。
15 を達成する目的です。
rrbox
commented
4 months ago
world 内の entity record dictionary を sparse set に変更
commands 内で entity 生成を管理する方式を採用
entity transaction 型を追加
entity の追加・削除コマンドを他のコマンドと区別した。
他のコマンドよりも先に実行される。
spawn command, despawn command を entity transaction のサブクラスに変更
現時点では entity が hashable に準拠しているが、全ての query が sparse set に変更したときに不要となります。
rrbox
commented
4 months ago
次:
query 内部を sparse set にする
query の apply current state 処理がうまく機能しない可能性があるため、解決策を考える
filtered の apply current state もうまくいかなくなるはず。
rrbox
commented
4 months ago
すべての chunk (query) の components を sparse set に変更しました。
63 のブランチとして作成されました。
15 を達成する目的です。