| @@ -1,3 +1,3 @@ | ||
| #Thu Oct 29 22:57:39 EDT 2015 | ||
| org.eclipse.core.runtime=2 | ||
| org.eclipse.platform=4.5.1.v20150904-0015 |
| @@ -1 +1 @@ | ||
| [[{"location":"/home/insidious/MEGA/Studies/Freshman/Winter Semester/Computer Science/JavaProjects/GreedyAlgorithm","type":"PROJECT","hints":{"PROJECT_NAME":"GreedyAlgorithm"}},"ABSENT"],[{"location":"/usr/lib/jvm/java-8-openjdk","type":"JRE","hints":{}},"jre:jre:8.0.0"]] |
| @@ -78,7 +78,7 @@ public String hunt(){ | ||
| //get the next step | ||
| currentStep = path[direction]; | ||
| //figure out what the next direction will be | ||
| direction += currentStep.getDirection(); | ||
|
|
||
|
|
||
| } | ||