EmreBugday99 / Interactive

A 2D OpenGL Game Engine
2 stars 0 forks source link

Entity Pooling #23

Closed EmreBugday99 closed 3 years ago

EmreBugday99 commented 3 years ago

When a new entity gets created, if we have any entities that are waiting to be garbage collected we should remove that entity from garbage collection and use that entity instead of constructing a brand fucking new one.