code: public void addCatchCommand(int direction) {
          StringBuilder buf = new StringBuilder();
          buf.append("(catch ");
          buf.append(direction);
          buf.append(')');
          fifo.add(fifo.size(), buf.toString());
      }
docs: Goalie special command. Tries to catch the ball in a given direction
  relative to its body direction. If the catch is successful the ball will
  be in the goalies hand untill kicked away.
  
  @param direction The direction in which to catch, relative to its body.