]> rtime.felk.cvut.cz Git - hubacji1/psp.git/blobdiff - api/psp.h
Add forward method skeleton, ut
[hubacji1/psp.git] / api / psp.h
index e9813421d8f8ea7dcc6116124b11cc6abf13256e..57a0c07b2fe5d2e3f2a6caec5c664bd16fc0d5ab 100644 (file)
--- a/api/psp.h
+++ b/api/psp.h
@@ -34,6 +34,12 @@ class PSPlanner {
                 (parking slot lines).
                 */
                 bool collide();
+                /*! \brief Return parking direction
+
+                Return `true` if the direction of the parking in the
+                slot is forward.
+                */
+                bool forward();
                 /*! \brief Has current car `cc` left?
 
                 Return `true` if the current car `cc` left the parking