001    public class Test {
002            public static void main(String[] args){
003                    //NodeToHemisson.moveHemisson(NodeToHemisson.TURN_RIGHT);
004                    //System.exit(1);
005                    //NodeList world = ExploreDummy.run();
006                    
007                    NodeList nWorld = Explore.run();
008    
009                    System.out.println("WORLD: " + nWorld);
010                    
011                    Node nStart = nWorld.getCurrentNode();
012                    Node nGoal = new Node(0, 0);
013                    NodeList nPath = AStar.run(nWorld, nStart, nGoal);
014                    
015                    System.out.println("PATH : " + nPath);
016                    int iOrientation = nWorld.getCurrentOrientation();
017                    for(int i = 0; i < nPath.size() -1; i++){
018                            iOrientation = NodeToHemisson.run(nPath.get(i), nPath.get(i+1), iOrientation);
019                    }
020            }
021    }