- Update our own summary after our board is set (so that it'll update

if we re-enter a game in which we had a non-empty board).
- Made updateSelfSummary() public to support a change in yohoho.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3772 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2005-12-01 23:54:00 +00:00
parent 9f4f72318f
commit 4e179766df
@@ -288,6 +288,8 @@ public abstract class DropControllerDelegate extends PuzzleControllerDelegate
// update the casted board reference
_dboard = (DropBoard)board;
// and update our self-summary
updateSelfSummary();
}
// documentation inherited
@@ -616,7 +618,7 @@ public abstract class DropControllerDelegate extends PuzzleControllerDelegate
* than the server-side board from which all other player board
* summaries originate.
*/
protected void updateSelfSummary ()
public void updateSelfSummary ()
{
int pidx = _ctrl.getPlayerIndex();
if (pidx != -1 && _puzobj != null && _puzobj.summaries != null) {