Maescool/Catacomb-Snatch — Issue #36: Mobs never stop spawing and game begins to slow down
Author: Flet
Created: 2012-02-21 16:56:31+00:00
State: open

If left to idle, the game will continue to spawn mobs until the entire level is flooded. The game will begin to crawl at this point and become nearly unplayable. I propose adding a MAX_MOBS setting that is checked before spawning allowing more to spawn. It can be pretty big number, but it would be nice to have just for protection.

Also of note, I added a couple of helper methods to Level.java for traps that could be leveraged for this task. Its in the shotgun/traps pull request currently. :)