From: Erik V. <eri...@hc...> - 2008-11-13 21:13:09
|
It is interesting that, just having had a discussion about Company types, I'm for the first time hitting the need for a game-specific company subclass. 1856 public companies need (at least) two per-company attributes that, I believe, are unique to this game and should not be included in the generic PublicCompany class: - the next available train from the bank when the presidency was bought (which determines the company capitalization rules at floating time and later), and - the amount of treasury money held in escrow by the bank in some cases. So I think I'm going to create a subclass PublicCompany_1856 to hold these values. The destination hex and the destination-reached condition are common enough to be put into PublicCompany itself (the hex has in fact always been there). Setting destination-reached will be a menu action, for the time being. Comments? Erik |