Closed sbuller closed 15 years ago
In our discussion a few days ago, you'd suggested saving messages on the Combatant.
The current thought on this is that messages and their contexts will be stored on the Combat class. At that point, any Hero can grab and render the messages.The problem is that the context includes more than mere strings. It has instances of Combatants and stuff in it. How can this be dealt with?
Implemented. Messages are added through a Combat, but rather than being saved on the Combat, they are saved on each Hero in that Combat (with different pov as appropriate).
Messages need to not be stored on Combats, as in the future it may be possible to have multiple perspectives on a single Combat - indeed, this is what we're working towards.