From: Erik V. <eri...@hc...> - 2005-05-04 22:39:00
|
> >BTW I'm testing an initial version of GameManager, which, however, > >does not handle the private auction yet. That will come next. > > Excellent. In fact I'm already looking at the auction. The point is, that several games (for example 1835) have "start packets" that contain both private and public (minor and even major company) shares. To put these all in a nice collection I need an interface that covers them all. That means: a superinterface above PrivateCompanyI and CertificateI. I would propose the following: - rename Certificate(I) to PublicCertificate(I) [BTW I am willing to reconsider Stock or Share for shortness sake], - create a new interface Certificate that is implemented by both PublicCertificateI and PrivateCompanyI. (Another reason why this makes sense is that privates count against the certificate limit in most games). I will also create a new class StartPacketItem, that will contain either one or two Certificates, the second being the additional certificate that comes with some primary ones. The Start Packet will be configured separately from the Private companies (because of 1835 etc.). For 1830 I will use this feature for the C&A/PRR and B&O/B&O combos. That saves me from coding two "private special properties", which become instances of a generic mechanism. OK? Erik. |