From: Brett L. <wak...@ea...> - 2005-12-01 01:09:24
|
The inital bits of Token laying are now in CVS. Right now, only the home token is being played, and only to the center of the hex. Obviously this is kind of ugly in some situations, but it'll improve as we go along. Manually playing tokens is not yet coded. There's also quite a few other details of token laying that aren't yet complete. To cope with multi-station tiles, here's what I've done: Hexes will maintain a copy of the Tile's station list. The hex station list will hold the tokens. The tile's station list can't hold tokens because otherwise every -11 tile shows up with the same token in it (i tried it this way first ;-). So, that means whenever tiles are upgraded we have to fuss about with comparing the new station list with the current list and shuffling tokens from one list to the other. However, I can't really see any other way of handling this more gracefully. The worst of it is really going to be merging the lists when a tile with multiple stations upgrades to a tile with a single station. I haven't done this yet, but it doesn't seem like it'll be too painful. I can't think of any situation where a tile with a single station ever upgrades into a tile with multiple stations. If these exist, please speak up. ---Brett |