也许完成了寻路

This commit is contained in:
TurnMeOn committed 2017-12-24 21:47:03 +08:00
1 parent 640c7b182c
commit 52364ff0ef
4 files changed
+69 -4

No files matched your search

+6
View File
@@ -37,3 +37,9 @@ int Path::pointsCount()
return path.length();
}
PathPoint &Path::getNext()
{
PathPoint &tmp = path.first();
path.removeFirst();
return tmp;
}