From: Erik V. <eri...@hc...> - 2005-04-21 18:56:50
|
I have updated some game classes (including Bank and CompanyManager) and most of the Game and CompanyManager XML files to include Certificates and to configure the initial Bank cash amount. The bank caused me some trouble. It is now handled by ComponentManager, and it turned out, that anything that is configured by the ComponentManager is not accessible until all XML files have been read. Previously, I put all Certificates in the IPO (a Bank Portfolio) while configuring the companies (i.e. parsing CompanyManager.xml), but that is no longer possible. So I added an an additional Bank method initIpo(), which is now called by Game after all XML reading. Well, perhaps that is just as well..... Erik. |