These lines use what is known as free indirect speech, or free indirect discourse. This combine elements of third person narration with first person chiming in to describe
the character's thoughts and feelings or emotions. This can be conveyed by the author directly voicing what the character is thinking, while describing the character doing
an action in the third person.