public boolean drawVector(final Vector v, final Color color) {
    ObservableList<Node> _children = this.gameNodes.getChildren();
    Line _line = new Line();
    final Procedure1<Line> _function = new Procedure1<Line>() {
      public void apply(final Line it) {
        Point _a = v.getA();
        double _x = _a.getX();
        it.setStartX(_x);
        Point _b = v.getB();
        double _x_1 = _b.getX();
        it.setEndX(_x_1);
        Point _a_1 = v.getA();
        double _y = _a_1.getY();
        it.setStartY(_y);
        Point _b_1 = v.getB();
        double _y_1 = _b_1.getY();
        it.setEndY(_y_1);
        it.setStroke(color);
      }
    };
    Line _doubleArrow = ObjectExtensions.<Line>operator_doubleArrow(_line, _function);
    boolean _add = _children.add(_doubleArrow);
    return _add;
  }