org.deken.game.pathfinding
Class Path

java.lang.Object
  extended by org.deken.game.pathfinding.Path
All Implemented Interfaces:
java.lang.Comparable<Path>

public class Path
extends java.lang.Object
implements java.lang.Comparable<Path>

Title: Path

Description: TODO

Copyright: Copyright (c) Apr 4, 2012

Version:
1.0
Author:
Gary Deken

Constructor Summary
Path(java.util.List<Node> nodes, int distance)
           
 
Method Summary
 int compareTo(Path other)
           
 int getDistance()
           
 java.util.List<Node> getNodes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Path

public Path(java.util.List<Node> nodes,
            int distance)
Method Detail

getDistance

public int getDistance()

getNodes

public java.util.List<Node> getNodes()

compareTo

public int compareTo(Path other)
Specified by:
compareTo in interface java.lang.Comparable<Path>