JohnSegerstedt / DAT390-ASS3

0 stars 0 forks source link

Make all GamePiece:s use ObjectPools (OPTIONAL) #24

Open JohnSegerstedt opened 3 years ago

JohnSegerstedt commented 3 years ago

* Peas

david-campos commented 3 years ago

I don't think the lawnmower needs to use an object pool, they are five and they are present since game start. With placing plants and zombies I did not notice any performance issue at all so I don't see the point, tbh, of occupying memory with many of them that might not be used if spawning them is not an issue right now.

I would skip this.