Merge branch 'master' of github.com:w-mj/DataStructureProject

This commit is contained in:
w-mj committed 2017-12-25 10:11:22 +08:00
commit 0dc9ec1aa7
1 file changed
+4
+4
View File
@@ -86,6 +86,10 @@ void Car::turnRight(int r, double ang)
void Car::setPath(Path *path)
{
m_path = path;
m_target = path->getNext();
m_current = m_target;
this->setPos(m_target.point);
}
int Car::getNum()