From: John D. G. <jd...@di...> - 2005-03-05 13:32:49
|
Erik Vos wrote: > I was talking about objects reporting their state *changes*. > We need that to create a readable game log (e.g. for PBEM). I like this in principle. However, since money does not appear or disappear but goes somewhere, I suggest that all money movements be handled by a single function ("Transfer" with two arguments) and logged as a single action. If "add $30 to Player 1" and "subtract $30 from the Bank" are two separate actions, it's too easy for one to get done and the other skipped. |