5Feb/100
2-5
A compelling case for a global. The situation : I have an entity handle. To get the entity, I need the world and the handle. But to get the world, I need the entity. A simple solution : Global access to the world.
Dependency injection is a better alternative. But. You know. Lazy.
There is another advantage to Object Handles is that hanging references to a logically destroyed entity won't keep the entity object alive. Of course this comes with a gotcha - I have to check the handle for validity every time I want to use it.
Also a lot of boxing.
