[−][src]Trait minutiae::engine::iterator::EntityIterator
Visits the entities of a universe in a particular order, returning the index of the cell the entity inhabits as well as the index of the entity within that cell (since there can be multiple entities in one cell).
Required methods
fn visit(
&mut self,
entities: &[Vec<Entity<C, E, M>>],
entity_meta: &HashSet<usize>
) -> Option<(usize, usize)>
&mut self,
entities: &[Vec<Entity<C, E, M>>],
entity_meta: &HashSet<usize>
) -> Option<(usize, usize)>