From: Erik V. <eri...@hc...> - 2007-12-22 17:33:46
|
> Erik Vos wrote: > > 2. Another new aspect is that the train naming ability does > not disappear > > when the private closes. So I had to implement a new way to make it > > permanent by moving the special ability object from the > private to the > > company portfolio. > > Why not treat the name chits as token-like objects which can > be placed on > trains (as they are in the game)? Yes, that is what happens. There is a difference between the NameTrains special ability, which has the effect that the operating company owning it can assign name tokens to trains, and the name tokens, which are NamedTrainToken objects, that can be linked to individual trains. Technically these remain owned by the special ability, though. Each of the named train tokens has a long and a short name. The short name is shown in the OR Window. For instance, a 5-train named "Robert E. Lee" is displayed as 5'RELee'. > > BTW I think the term (and class name) SpecialProperty > should perhaps be > > replaced by SpecialAbility, as I find the latter a lot more > descriptive. > > Does the class cover such properties as "the B&O private > closes when the > B&O corporation acquires a train" and/or "Coal company X must > exchange for > share Y when all other shares of Y have been purchased by > players"? Those > are not actions the player would choose, so I wouldn't call > them abilities. That's right. The way it's currently implemented, the B&O private closing is a property of the B&O corporation, but that isn't very relevant here. The latter case I haven't encountered yet. But your point is taken, perhaps I'll leave it as is. Erik. > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |