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:
@@ -75,6 +75,14 @@ public class GameObject extends PlaceObject
|
|||||||
/** The player index of the creating player if this is a party game. */
|
/** The player index of the creating player if this is a party game. */
|
||||||
public int creator;
|
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.
|
* 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. */
|
/** The player index of the creating player if this is a party game. */
|
||||||
public int creator;
|
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.
|
* Returns the number of players in the game.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -57,14 +57,6 @@ public class PuzzleObject extends GameObject
|
|||||||
/** The seed used to germinate the boards. */
|
/** The seed used to germinate the boards. */
|
||||||
public long seed;
|
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.
|
* 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. */
|
/** The seed used to germinate the boards. */
|
||||||
public long seed;
|
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.
|
* Returns the number of active players in the game.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user