From e62817b8252974b8a98393275874ee303840bf13 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 12 May 2017 18:49:50 +0500 Subject: 2017-05-12 --- PositionI.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'PositionI.hpp') 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 -- cgit v1.2.3