Experimental Changes
[cs356-p1-elevator.git] / stop.hpp
index 57839a2..c7256bc 100644 (file)
--- a/stop.hpp
+++ b/stop.hpp
@@ -21,6 +21,9 @@ class Stop : public Position
                 */
                Stop (int floor, enum direction mydirection);
 
+
+               Stop (Position pos, enum direction mydirection);
+
                /*
                 * PURPOSE: Check if this and another Stop object is equivalent
                 *
@@ -29,6 +32,7 @@ class Stop : public Position
                 * PROMISE: Return true if this and rhs are equivalent, false otherwise
                 */
                bool operator== (Stop& rhs);
+               friend std::ostream& operator<< (std::ostream& os, Stop& rhs);
 
        private: