package pathgame.algorithm; import java.util.ArrayList; public class SaleRoute { private ArrayList path; private int totalCost; SaleRoute(ArrayList path, int totalCost) { this.path = path; this.totalCost = totalCost; } public ArrayList getPath() { return path; } public int getTotalCost() { return totalCost; } }