I’m about to change the program to eliminate the Reaction data structure and replace it with the NextEncounter data structure. This is a huge change, in which I will be retaining some of the elements of the former. In this essay I shall organize my thoughts about how to effect this change. I’ll be making big changes in just about every component of the program: file reading and writing, display, data structures, and algorithms. I need to plan this well.
My first thought is to retain the Reaction system, but modify it to perform the functions currently handled by the NextEncounter system. In other words, treat Reactions as if they were NextEncounters.