simplified complexity of handleEnemies(); method