]> git.seodisparate.com - EntityComponentMetaSystem/commit
Add fn to Manager allowing iterable indices as sig
authorStephen Seo <seo.disparate@gmail.com>
Thu, 11 Jul 2019 12:11:03 +0000 (21:11 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 11 Jul 2019 12:11:03 +0000 (21:11 +0900)
commit4db5e0caed439680c9e2b8015cda104bf99ec074
treedde2a79d5546c0b963f157eef721b6f612361c64
parent50a84f5c8c6f8f22db744c7101adaa038485fdf1
Add fn to Manager allowing iterable indices as sig

As an alternative to forMatchingSignatures, which calls the given
function on entities matching the given Components/Tags in the
signature, forMatchingIterable allows filtering entities by an iterable
of indices that corresponds to Components/Tags.
src/EC/Bitset.hpp
src/EC/Manager.hpp
src/test/ECTest.cpp