From: John D. G. <jd...@di...> - 2007-10-12 01:00:37
|
Brett Lentz wrote: > After whittling away at the rest of the 18EU XML, I think I'd like to > take a stab at implementing Price Protection. > > Judging by the code, it appears that the best way to go about this is to > implement it as a special Round, then have the StockRound code signal to > the GameManager whether it needs to initiate a "Price Protection Round". > > This looks like it will allow the GameManager and GameUIManager to > prompt the user with an appropriate UI and handle the price protection > processing based on the user's input. > > Do I have that about right? Is this a good way of implementing Price > Protection? It would work, provided we go back to a stock round after the special round. (This type of situation is why I resisted the notion that only one round can be going on at a time: it seems cleaner to me if the special round takes place during one turn of a stock round which continues after the special round ends. The same scheme also works for private company auctions. Similarly, forced train purchases, and complicated phase changes such as the 1835 Pr formation and 1841 IRSFF succession, can best be handled as special rounds that take place during one turn of an operating round.) |