public void removeBunnies() { FlxBasic bunny; for (int i = 0; i < 500; i++) { bunny = _bunnies.GetFirstAlive(); if (bunny != null) { bunny = _bunnies.Remove(bunny, true); bunny.destroy(); } } _bunnies.Members.TrimExcess(); _bunnyCounter.text = "Bunnies: " + _bunnies.length; }