package graphics.graph;

/**
 PickBean is a nice example of a bean,
 that uses the Singleton Pattern.
 this is the nodes that was selected by the gui.mouse.m2.mouse.
 */

public final class PickBean {
  private PickBean() {
  };

  private static PickBean pb = new PickBean();

  public static PickBean getPickBean() {
    return pb;
  }

  private Node pick;

  public Node getPick() {
    return pick;
  }

  public void setPick(Node n) {
    pick = n;
  }
}