Moved shouldBroadcast override from PuzzleObject to GameObject.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3260 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2004-12-03 23:30:34 +00:00
parent 7ea2b45d39
commit 33df387517
4 changed files with 16 additions and 16 deletions
@@ -75,6 +75,14 @@ public class GameObject extends PlaceObject
/** The player index of the creating player if this is a party game. */
public int creator;
// documentation inherited
public boolean shouldBroadcast ()
{
// we do not broadcast to games because the users will get it
// on their scene objects
return false;
}
/**
* Returns the number of players in the game.
*/
@@ -96,6 +96,14 @@ public class GameObject extends PlaceObject
/** The player index of the creating player if this is a party game. */
public int creator;
// documentation inherited
public boolean shouldBroadcast ()
{
// we do not broadcast to games because the users will get it
// on their scene objects
return false;
}
/**
* Returns the number of players in the game.
*/
@@ -57,14 +57,6 @@ public class PuzzleObject extends GameObject
/** The seed used to germinate the boards. */
public long seed;
// documentation inherited
public boolean shouldBroadcast ()
{
// we do not broadcast to puzzles because the users will get it
// on their scene objects
return false;
}
/**
* Returns the number of active players in the game.
*/
@@ -72,14 +72,6 @@ public class PuzzleObject extends GameObject
/** The seed used to germinate the boards. */
public long seed;
// documentation inherited
public boolean shouldBroadcast ()
{
// we do not broadcast to puzzles because the users will get it
// on their scene objects
return false;
}
/**
* Returns the number of active players in the game.
*/