public void activate(Robot paramRobot, int paramInt) {
    Vector[][] arrayOfVector = getEnvironment().getObjectMap();
    boolean bool = true;
    int i = this.location.x; for (int j = 0; j < this.shape.length; j++)
    {
      int k = this.location.y; for (int m = 0; m < this.shape[0].length; m++)
      {
        if (this.shape[j][m] == this)
        {
          if (arrayOfVector[i][k] != null)
          {
            Enumeration localEnumeration = arrayOfVector[i][k].elements();
            while (localEnumeration.hasMoreElements())
            {
              if (!(localEnumeration.nextElement() instanceof Robot))
                continue;
              bool = false;
            }
          }
        }
        k++;
      }
      i++;
    }

    setVisible(bool);
  }