/* */ package NET.worlds.console; /* */ /* */ import java.io.DataInputStream; /* */ import java.io.DataOutputStream; /* */ import java.io.IOException; /* */ /* */ public class BBDisappearDroneCommand extends BlackBoxCommand /* */ { /* */ private String name; /* */ /* */ public BBDisappearDroneCommand(String pName) /* */ { /* 13 */ this(); /* 14 */ this.name = new String(pName); /* */ } /* */ /* */ public BBDisappearDroneCommand() { /* 18 */ this.commandType = 6; /* */ } /* */ /* */ public boolean execute() /* */ { /* 23 */ ArmyOfZombies.instance().killZombie(this.name); /* 24 */ doCallback(true); /* 25 */ return true; /* */ } /* */ /* */ public void save(DataOutputStream dos) throws IOException /* */ { /* 30 */ super.save(dos); /* 31 */ dos.writeUTF(this.name); /* */ } /* */ /* */ public void load(DataInputStream dis) throws IOException /* */ { /* 36 */ super.load(dis); /* 37 */ this.name = new String(dis.readUTF()); /* */ } /* */ } /* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\console\BBDisappearDroneCommand.class * Java compiler version: 6 (50.0) * JD-Core Version: 0.7.1 */