Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- public class Node {
- private Point state;
- private Node parent;
- public Node(Point state, Node parent) {
- this.state = state;
- this.parent = parent;
- }
- public Point getState() {
- return state;
- }
- public Node getParent() {
- return parent;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement