From: Brett L. <wak...@ea...> - 2005-09-19 22:28:14
|
> 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. I'm not really sure it's necessary at this point. Is there ever a point where the UI is out of sync with the model objects? I think this might be something that's good to revisit after our initial release. For now, if it's working sufficiently, there's no reason to reinvent the wheel. There's plenty of other tasks needing completion. :-) > Sure we can, but I did not want to destroy your code before mine > would prove to be better :-) That's the lovely thing about CVS. Once my code has been committed as a specific file revision number, it's always preserved. We can always checkout previous versions of files even after you commit changes. So, please go ahead and just overwrite existing methods. Yours clearly are working much better. After all, they're correctly displaying the map layout. ;-) ---Brett. |