Super_Hippo wrote...
I think it would be the best to reduce the health of both by the lower health so there is no need to loop.e1.e1Health -= this.bulletHP; if (e1.e1Health <= 0) { this.getWorld().removeObject(e1); } if (e1.e1Health < 0) { this.bulletHP = -e1.e1Health; } else { this.getWorld().removeObject(this); }