From: Erik V. <eri...@xs...> - 2011-07-29 18:06:53
|
Given that you already have created a special class PublicCompany_1880, it would be most natural to save the building rights as a List<Phase> in that class. Alternatively, you could consider to hold the building rights as entries in the new 'rights' map in PublicCompany, that I recently introduced for the 1830 Coalfields right. The value of these entries could be composed from the names of the phases for which the company has building rights. Or, if we would change the 'rights' value type into Object, you could put such a List<Phase> in there. I hope the above answers your question, which wasn't entirely clear to me. Erik. > -----Original Message----- > From: Dr. Martin Brumm [mailto:Dr....@t-...] > Sent: Friday, July 29, 2011 7:27 PM > To: rai...@li... > Subject: [Rails-devel] Design question 1880 > > > Hello > > I am currently looking at implementing the building rights for different > phases in 1880. > > I would rather use a special property in the public company than creating a > new class based on a certificate. > > Reasoning is that those building rights are set once (one exemption > stemming from a private) and cantbe modified or traded between > companies. > > Any disagreement on that thought? > > > Regarding the dynamic director certificate, does anyone of you have in mind > if theres other games where different director certificates (i.e. With a value > bigger as 20 percent) or flexible percentages are needed or again just 1880 > speciality? > > Regards > Martin > ---------------------------------------------------------------------------- -- > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |