From: John A. T. <ja...@ja...> - 2006-02-04 01:18:40
|
brett lentz wrote: >To allow the end game conditions to be detected, I'm changing the >return types to various cash transferring methods from void to >boolean. > > Rather than checking it in every place, it seems like it would be better to have the Bank object (or whatever implements the bank) keep track of whether it is broken. Then at the end of an OR you can check that flag and end the game or give a warning message. -- John A. Tamplin ja...@ja... 770/436-5387 HOME 4116 Manson Ave Smyrna, GA 30082-3723 |