I have committed a number of changes.
The commit text:
Implemented Undo/Redo for the OR revenue entry and payout steps.
Some token laying fixes.
Split class Log into LogBuffer and MessageBuffer and changes method names
(this affects many classes).
Localised many messages in OperatingRound.
It may not be perfect yet, but the basics seem to work.
The disciplinating effect of implementing the new patterns throughout
turns out to be strong, and I am pleased how well it works out once the
basics are done.
This applies to the usage of the subclasses of
- PossibleAction to streamline the interaction between the GUI and the
engine
(which I hope will much facilitate the client/server communication once we
make that split),
- ModelObject to notify the GUI of state changes in the engine, and
- Move to implement Undo/Redo.
But there is still a lot of work to do on these aspects!
Erik Vos
|