diff options
Diffstat (limited to 'NET/worlds/scape/MutedDrone.java')
| -rw-r--r-- | NET/worlds/scape/MutedDrone.java | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/NET/worlds/scape/MutedDrone.java b/NET/worlds/scape/MutedDrone.java new file mode 100644 index 0000000..3be1f3a --- /dev/null +++ b/NET/worlds/scape/MutedDrone.java @@ -0,0 +1,82 @@ +/* */ package NET.worlds.scape; +/* */ +/* */ import NET.worlds.network.ObjID; +/* */ import NET.worlds.network.URL; +/* */ import NET.worlds.network.WorldServer; +/* */ import java.io.IOException; +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ public class MutedDrone +/* */ extends Drone +/* */ { +/* */ public MutedDrone(ObjID objID, WorldServer serv, URL url) +/* */ { +/* 31 */ super(objID, serv); +/* 32 */ setSourceURL(url); +/* */ } +/* */ +/* */ +/* */ +/* */ +/* */ public MutedDrone() {} +/* */ +/* */ +/* */ +/* */ public Drone setAvatarNow(URL url) +/* */ { +/* 44 */ if (shouldBeMuted()) +/* */ { +/* 46 */ setSourceURL(url); +/* 47 */ return this; +/* */ } +/* */ +/* */ +/* */ +/* */ +/* 53 */ return super.setAvatarNow(url); +/* */ } +/* */ +/* */ +/* */ +/* 58 */ private static Object classCookie = new Object(); +/* */ +/* */ public void saveState(Saver s) throws IOException { +/* 61 */ s.saveVersion(1, classCookie); +/* 62 */ super.saveState(s); +/* */ } +/* */ +/* */ public void restoreState(Restorer r) throws IOException, TooNewException +/* */ { +/* 67 */ int vers = r.restoreVersion(classCookie); +/* 68 */ switch (vers) { +/* */ case 1: +/* 70 */ super.restoreState(r); +/* 71 */ break; +/* */ default: +/* 73 */ throw new TooNewException(); +/* */ } +/* */ } +/* */ } + + +/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\MutedDrone.class + * Java compiler version: 6 (50.0) + * JD-Core Version: 0.7.1 + */
\ No newline at end of file |