added the deathListener - logic to the enemy