package battlecode.world.signal;

/**
 * Signifies that an object has died somewhere.
 *
 * @author Matt
 */
public class DeathSignal implements Signal {

    private static final long serialVersionUID = 8518453257317948520L;

    /**
     * The ID of the object that died.
     */
    private final int objectID;

    /**
     * Whether the death of the robot is due to it being activated.
     */
    private final boolean isDeathByActivation;

    /**
     * Creates a signal representing the death of
     * the specified object.
     *
     * @param objectID the ID of the object that died
     */
    public DeathSignal(int objectID) {
        this.objectID = objectID;
        this.isDeathByActivation = false;
    }

    /**
     * Creates a signal representing the death of the specified object and
     * contains information on whether the death was due to the bot being
     * activated.
     *
     * @param objectID the ID of the object that died
     * @param isDeathByActivation whether the death was due to activation
     */
    public DeathSignal(int objectID, boolean isDeathByActivation) {
        this.objectID = objectID;
        this.isDeathByActivation = isDeathByActivation;
    }

    /**
     * Returns the ID of the object that just died.
     *
     * @return the dying object's ID
     */
    public int getObjectID() {
        return objectID;
    }

    /**
     * Returns whether the death is because a robot was activated.
     *
     * @return whether the death is because a robot was activated.
     */
    public boolean isDeathByActivation() {
        return isDeathByActivation;
    }

    public boolean getIsDeathByActivation() {
        return isDeathByActivation;
    }

    /**
     * For use by serializers.
     */
    @SuppressWarnings("unused")
    private DeathSignal() {
        this(0);
    }
}

@@ -410,35 +410,33 @@
 e final boolean 
-isD
+d
 eathByActivation
@@ -672,35 +672,33 @@
 D;%0A        this.
-isD
+d
 eathByActivation
@@ -964,19 +964,17 @@
  @param 
-isD
+d
 eathByAc
@@ -1067,35 +1067,33 @@
 jectID, boolean 
-isD
+d
 eathByActivation
@@ -1143,19 +1143,17 @@
    this.
-isD
+d
 eathByAc
@@ -1163,19 +1163,17 @@
 ation = 
-isD
+d
 eathByAc
@@ -1583,100 +1583,9 @@
 urn 
-isDeathByActivation;%0A    %7D%0A%0A    public boolean getIsDeathByActivation() %7B%0A        return isD
+d
 eath

Rename variable to get serialization tests to pass