richardlord/Ash — pull request #8 by wrobel221 (2012-07-13 23:56:48+00:00)
Title: Optional excluded list of Components for Node

You can set up excluded list for Node creating public static array named without. Entities with excluded components are not added to the NodeList. Adding/removing excluded component causes entity to be removed/added from the NodeList.

Unfortunately feature when excluded component is removed from entity nothing listens to componentRemoved signal. So I had to add that listener for all entities. I added some optimisation when there's no families with excluded components then that listener is not added.

I started developing that feature from writing tests so it passes all three tests I added. There might be more cases for this feature and I'll add them when there will be any problems.