From: Martin B. <dr....@t-...> - 2013-09-22 16:05:05
|
Hello Mike, et al. i found the problem, and its not that easy to fix without breaking lots and lots of things. For that reason i have incorporated Stefan, Erik and Brett to see how we can go on. 1880 is changing in Phase B1 the amount of yellow tiles available to be placed on the map for all mayor companies to 2. Currently the Class Phase is using a unique Map called tileLaysPerColour. This map gets adjusted for every Phase assuming that the Colours Change but not the Fact that the number of tilelays per colour might Change at a later stage in Game. (A least thats what i observed right now). I think we need a localised copy of tileLaysPerColur for each Phase, but of course can copy the contents of the previousPhase if no change is detected... But we will break every savegame if we fix that rails.game.phase.java. Of course we will have to create then a Phase_1880 class (with all constraints) and have to create specific Phases for all other games that change subsequently tileLaysPerColour in later Phase (going from 2 yellow to 1 or from 1 yellow to 2 (like 1880)). So how do we proceed here ? Regards, Martin P.s. I palced a quick Fix for our 1880 Problem in PublicCompany_1880, but just that--- |