package maze;

import java.util.ArrayList;

public class PathStack implements PathOrderer {
	private ArrayList<Path> paths;
	
	public PathStack() {
		paths = new ArrayList<Path>();
	}
	
	public PathStack(PathStack other) {
		this();
		paths.addAll(other.paths);
	}
	
	@Override
	public boolean equals(Object other) {
		if (other instanceof PathStack) {
			return this.paths.equals(((PathStack)other).paths);
		} else {
			return false;
		}
	}

	@Override
	public void put(Path p) {
	}

	@Override
	public Path peek() {
		return null;
	}

	@Override
	public Path remove() {
		return null;
	}

	@Override
	public boolean isEmpty() {
		return false;
	}
}
