parsec::Generation [] [src]

type Generation = i32;

Index generation. When a new entity is placed at the old index, it bumps the generation by 1. This allows to avoid using components from the entities that were deleted. G<=0 - the entity of generation G is dead G >0 - the entity of generation G is alive