Regenerated the distributed objects with the new clone happy bits.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3295 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2005-01-05 06:46:11 +00:00
parent e5acc3e45f
commit 61c0dde5d5
6 changed files with 19 additions and 19 deletions
@@ -176,10 +176,10 @@ public class PlaceObject extends DObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setOccupantInfo (DSet occupantInfo) public void setOccupantInfo (DSet value)
{ {
requestAttributeChange(OCCUPANT_INFO, occupantInfo, this.occupantInfo); requestAttributeChange(OCCUPANT_INFO, value, this.occupantInfo);
this.occupantInfo = occupantInfo; this.occupantInfo = (DSet)value.clone();
} }
/** /**
@@ -102,10 +102,10 @@ public class TableLobbyObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setTableSet (DSet tableSet) public void setTableSet (DSet value)
{ {
requestAttributeChange(TABLE_SET, tableSet, this.tableSet); requestAttributeChange(TABLE_SET, value, this.tableSet);
this.tableSet = tableSet; this.tableSet = (DSet)value.clone();
} }
// AUTO-GENERATED: METHODS END // AUTO-GENERATED: METHODS END
} }
@@ -265,7 +265,7 @@ public class GameObject extends PlaceObject
Name[] ovalue = this.players; Name[] ovalue = this.players;
requestAttributeChange( requestAttributeChange(
PLAYERS, value, ovalue); PLAYERS, value, ovalue);
this.players = value; this.players = (Name[])value.clone();
} }
/** /**
@@ -298,7 +298,7 @@ public class GameObject extends PlaceObject
boolean[] ovalue = this.winners; boolean[] ovalue = this.winners;
requestAttributeChange( requestAttributeChange(
WINNERS, value, ovalue); WINNERS, value, ovalue);
this.winners = value; this.winners = (boolean[])value.clone();
} }
/** /**
@@ -122,10 +122,10 @@ public class ClientObject extends DObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setReceivers (DSet receivers) public void setReceivers (DSet value)
{ {
requestAttributeChange(RECEIVERS, receivers, this.receivers); requestAttributeChange(RECEIVERS, value, this.receivers);
this.receivers = receivers; this.receivers = (DSet)value.clone();
} }
// AUTO-GENERATED: METHODS END // AUTO-GENERATED: METHODS END
} }
@@ -145,7 +145,7 @@ public class PuzzleObject extends GameObject
int[] ovalue = this.playerStatus; int[] ovalue = this.playerStatus;
requestAttributeChange( requestAttributeChange(
PLAYER_STATUS, value, ovalue); PLAYER_STATUS, value, ovalue);
this.playerStatus = value; this.playerStatus = (int[])value.clone();
} }
/** /**
@@ -178,7 +178,7 @@ public class PuzzleObject extends GameObject
BoardSummary[] ovalue = this.summaries; BoardSummary[] ovalue = this.summaries;
requestAttributeChange( requestAttributeChange(
SUMMARIES, value, ovalue); SUMMARIES, value, ovalue);
this.summaries = value; this.summaries = (BoardSummary[])value.clone();
} }
/** /**
@@ -85,10 +85,10 @@ public class SpotSceneObject extends SceneObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setOccupantLocs (DSet occupantLocs) public void setOccupantLocs (DSet value)
{ {
requestAttributeChange(OCCUPANT_LOCS, occupantLocs, this.occupantLocs); requestAttributeChange(OCCUPANT_LOCS, value, this.occupantLocs);
this.occupantLocs = occupantLocs; this.occupantLocs = (DSet)value.clone();
} }
/** /**
@@ -131,10 +131,10 @@ public class SpotSceneObject extends SceneObject
* change. Proxied copies of this object (on clients) will apply the * change. Proxied copies of this object (on clients) will apply the
* value change when they received the attribute changed notification. * value change when they received the attribute changed notification.
*/ */
public void setClusters (DSet clusters) public void setClusters (DSet value)
{ {
requestAttributeChange(CLUSTERS, clusters, this.clusters); requestAttributeChange(CLUSTERS, value, this.clusters);
this.clusters = clusters; this.clusters = (DSet)value.clone();
} }
// AUTO-GENERATED: METHODS END // AUTO-GENERATED: METHODS END
} }