i had a damp lying on my outside my little window, as if some goblin had been crying there all night, and using the window for pocket handkerchief.

What is the figurative language