From: Erik V. <eri...@xs...> - 2012-03-26 12:34:15
|
> From: Dr....@t-... [mailto:Dr....@t-...] > as stated, currently one has to save the game after the End of the Startround Bid/SelectionPhase and quit the game. > Start Rails anew and load the save game. > This will fix the problem with the incorrect player order on display. > This workaround needs to be kept until we can fix that handling by the game engine. Martin, I'm currently looking for a solution. What I need is a new ViewObject (Observer) object that represents the player order, and whose updates will trigger the complete player columns to be reordered. The object itself will be invisible. In the game engine, I cannot use the player order ArrayList itself, because Stefan has chosen to define ArrayListState not to extend State/ModelObject/Observable. I knew that would hurt me someday. A perhaps simpler but not so neat solution would involve a StringState, containing the concatenated player names in SR order, separated by some special character. More later. Erik. |