projects
/
cs356-p1-elevator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Stop inherits from Position
[cs356-p1-elevator.git]
/
position.hpp
diff --git
a/position.hpp
b/position.hpp
index
76fa6b6
..
ef94846
100644
(file)
--- a/
position.hpp
+++ b/
position.hpp
@@
-66,10
+66,14
@@
class Position
*/
Position& operator-= (const float rhs);
+ bool operator< (const Position& rhs);
+ bool operator> (const Position& rhs);
+
protected:
- private:
int _major;
int _minor;
+
+ private:
};
#endif /* POSITION_HPP */