From: Erik V. <eri...@xs...> - 2011-10-19 20:23:30
|
> A perfect solution would merge all those checks into one. However this is not > so easy as it might seem in first place. On a second look it is a non-trivial task > to find out if and where are valid tile lays considering all constraints > (operating company network, operating company funding, tile upgrade > charts, tile availability, local neighborhood restrictions for tile upgrades, > checking for the permissive or (semi-)restrictive upgrade rules etc.). I think the main impediment is that the game engine is not yet aware of the valid routes of the operating company (for tile laying purposes). The LayTile action objects are already prepared to carry a list of hexes where a tile can be laid, but the game engine is not yet able to compose such a list. Erik. |