public void activate(Robot paramRobot, int paramInt) {
    super.activate(paramRobot, paramInt);
    if (this.state != null)
    {
      Vector localVector = this.state.getSpecialProgramParts();
      Enumeration localEnumeration = localVector.elements();
      while (localEnumeration.hasMoreElements())
        if ((localEnumeration.nextElement() instanceof Launch))
          return;
      localVector.addElement(new Launch());
    }
  }