From: Erik V. <eri...@hc...> - 2005-09-19 21:09:54
|
> We don't currently "tell" the UI about changes to companies. > > The Paint/Repaint methods are called to draw the UI whenever > the values in our Stock model change. The UI then calls the > appropriate get methods to obtain the current values of the model. Yes, but my question is if it would be beneficial to change that, at least partially: to keep the StatusWindow up to date if any action is performed in another window (StartRound, OR). So far I have added quite a number of methods to GameStatus to allow updates from other windows, and it's a bit of a mess now. No real problem, but I was thinking if another way to update GameStatus would be more elegant. > Also, I've noticed you've forked the API a bit for > implementing the map. Is there a reason we can't just > replace the old methods with the newer ones? Sure we can, but I did not want to destroy your code before mine would prove to be better :-) Erik. |