Fisica Library, how to avoid contact

Hi, i have to do a project and i am having problems with my code.
In my game i have to shoot a spear and it has to hit a fish. The problem is that the spear doesn´t have to collide with the plataforms. Can somebody help me?

import fisica.*;

FWorld world;
Plataforma piso;
Lanza lanza;
Pez pez;


ArrayList <Plataforma> plataformas;
ArrayList <Plataforma> plataformas1;

String estado;
PImage fondo;
int gy;

void setup() {
  size (800, 600);

  estado="inicio";
  Fisica.init(this);

  comenzar();
}
void draw() {

  if (estado.equals("inicio")) {
    fondo= loadImage("fondo.jpg");
    image(fondo, 0, 0, width, height);
    fill(255);
    rect(width/2-75, height/2-25, 150, 50);
    stroke(0);
    fill(0);
    textSize(16);
    text("inicio", width/2-20, height/2+5);
  }
  if (estado.equals("juego")) {
    background(102, 153, 255);
    pez.actualizar();
    lanza.actualizar();
    world.step();
    world.draw();
  }
}

void keyPressed() {
  lanza.cambio();
  lanza.actualizar();
}

void mousePressed() {
  if (estado.equals("inicio") && mouseX<width/2+75 && mouseX> width/2-75 && mouseY>height/2-25 && mouseY< height/2+25) {
    estado="juego";
  }

  //else if (estado.equals("juego")){
  // pez.colisiona();
  // }
}

void contactStarted(FContact contact) {
  if (estado.equals("juego")) {
    if (hayColisionEntre( contact, "lanza", "pez")) {
      pez.colisiona();
    }
  }
}

Hi doloresgarcia
I think you missed to post the Plataforma Class to try this code.