The setting sun is being personified in this sentence. Personification is a figure of speech that gives human qualities to an animal, object, or idea. In this case, the setting sun is given the ability to speak and tell the speaker that it is time to head to camp.