/* */ 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 */