Ralith / hecs

A handy ECS
Apache License 2.0
967 stars 82 forks source link

Clarify that using World::clear will lead to entity ID repeating. #259

Closed adamreichold closed 2 years ago

adamreichold commented 2 years ago

We ran into this during modelling and were confused, so thought it would be nice to at least clarify this in the documentation.

(Fixing it would most likely make World::clear significantly more costly to implement as all generations would need to be bumped, ideally except for those already on the free list.)

cc @mlange-42