diff options
Diffstat (limited to 'PositionI.hpp')
-rw-r--r-- | PositionI.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PositionI.hpp b/PositionI.hpp index 45caabc..4706454 100644 --- a/PositionI.hpp +++ b/PositionI.hpp @@ -20,6 +20,8 @@ public: void setZ(int z); + double GetDistance(); + bool operator==(const PositionI &other) const; PositionI &operator=(const PositionI &other); @@ -34,6 +36,8 @@ public: bool operator>=(const PositionI &rhs) const; + PositionI operator-(const PositionI &other)const; + private: int m_x, m_y, m_z; };
\ No newline at end of file |