From: Michael A. <out...@gm...> - 2013-09-18 14:45:18
|
That is what we tried at first, but I didn't see how to do it. addRevenueBonus seemed to only work if it was tied to a vertex, and seemed like it would apply to each train, which isn't what we wanted. Could be that I missed an interface in there, tho. On Wed, Sep 18, 2013 at 10:21 AM, Stefan Frey <ste...@we...> wrote: > The best way to add that kind of bonus is to implement the > StaticRevenueModifier interface. > > On 09/18/2013 03:53 PM, Michael Alexander wrote: > > > > I also added in a way to add a value to the company's total run within > > the calculator. (In 1880, depending on your position in the stock > > market, you may get a bonus to the total of the company run.) I'm not > > sure what I did was the right way to do it, but I didn't see another way > > to add in a bonus that wasn't tied to a specific hex or hexes or an > > additional train. > > > > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |