From: Erik V. <eri...@hc...> - 2005-11-10 23:00:16
|
> > Yes, I can do that. But I think that should be done only after > a final confirmation button is pressed. Until that happens, > the user should IMO be able to correct moves, > e.g. by selecting another field. I'm considering the following procedure: 1. By clicking an upgrade tile, that tile will be *temporarily* assigned to the selected hex. E.g. via a method of GUIHex like dropTile (int tileId). 2. Only such provisional tiles can be rotated. 3. If another upgrade tile is clicked, that tile replaces the previous provisional tile (already in place). 4. If another hex is clicked, the previously selected hex is reset (e.g. removeTile()) before the new hex gets selected. 5. When a "Done" button is clicked, the provisional tile becomes permanent (e.g. fixTile()), and the model is updated. I think GUIHex must be reworked a bit to make this all possible. Not sure when I can spend significant time on these matters, perhaps in the weekend. Erik. |