When characters in a story speak of events that are yet to occur, they are said to be dialoguing foreshadowing.