From 33df38751726104a1a4959a292fdfd43798f5fdd Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Fri, 3 Dec 2004 23:30:34 +0000 Subject: [PATCH] Moved shouldBroadcast override from PuzzleObject to GameObject. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3260 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/java/com/threerings/parlor/game/GameObject.dobj | 8 ++++++++ src/java/com/threerings/parlor/game/GameObject.java | 8 ++++++++ src/java/com/threerings/puzzle/data/PuzzleObject.dobj | 8 -------- src/java/com/threerings/puzzle/data/PuzzleObject.java | 8 -------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/java/com/threerings/parlor/game/GameObject.dobj b/src/java/com/threerings/parlor/game/GameObject.dobj index 234f72f0d..e807d036b 100644 --- a/src/java/com/threerings/parlor/game/GameObject.dobj +++ b/src/java/com/threerings/parlor/game/GameObject.dobj @@ -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. */ diff --git a/src/java/com/threerings/parlor/game/GameObject.java b/src/java/com/threerings/parlor/game/GameObject.java index c0930c30d..07724cdb6 100644 --- a/src/java/com/threerings/parlor/game/GameObject.java +++ b/src/java/com/threerings/parlor/game/GameObject.java @@ -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. */ diff --git a/src/java/com/threerings/puzzle/data/PuzzleObject.dobj b/src/java/com/threerings/puzzle/data/PuzzleObject.dobj index a982fc198..b269c4f2c 100644 --- a/src/java/com/threerings/puzzle/data/PuzzleObject.dobj +++ b/src/java/com/threerings/puzzle/data/PuzzleObject.dobj @@ -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. */ diff --git a/src/java/com/threerings/puzzle/data/PuzzleObject.java b/src/java/com/threerings/puzzle/data/PuzzleObject.java index ea7396975..ff05e03ce 100644 --- a/src/java/com/threerings/puzzle/data/PuzzleObject.java +++ b/src/java/com/threerings/puzzle/data/PuzzleObject.java @@ -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. */