summaryrefslogtreecommitdiffstats
path: root/PositionF.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-04-15 12:17:53 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-04-15 12:17:53 +0200
commit2ee0f834487cfe4b6bd9424ca2715685a8db16e4 (patch)
tree6867718d6bfcd42f6a82c86dd8f149d6ea6cab68 /PositionF.hpp
downloadAltCraft-2ee0f834487cfe4b6bd9424ca2715685a8db16e4.tar
AltCraft-2ee0f834487cfe4b6bd9424ca2715685a8db16e4.tar.gz
AltCraft-2ee0f834487cfe4b6bd9424ca2715685a8db16e4.tar.bz2
AltCraft-2ee0f834487cfe4b6bd9424ca2715685a8db16e4.tar.lz
AltCraft-2ee0f834487cfe4b6bd9424ca2715685a8db16e4.tar.xz
AltCraft-2ee0f834487cfe4b6bd9424ca2715685a8db16e4.tar.zst
AltCraft-2ee0f834487cfe4b6bd9424ca2715685a8db16e4.zip
Diffstat (limited to 'PositionF.hpp')
-rw-r--r--PositionF.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/PositionF.hpp b/PositionF.hpp
new file mode 100644
index 0000000..b90a2a1
--- /dev/null
+++ b/PositionF.hpp
@@ -0,0 +1,29 @@
+#pragma once
+
+class PositionF {
+public:
+ PositionF(double x, double z, double y);
+
+ ~PositionF();
+
+ double GetX() const;
+
+ double GetY() const;
+
+ double GetZ() const;
+
+ void SetX(double x);
+
+ void SetY(double y);
+
+ void setZ(double z);
+
+ bool operator==(const PositionF &other) const;
+
+ PositionF &operator=(const PositionF &other);
+
+ PositionF(const PositionF &other);
+
+private:
+ double m_x, m_y, m_z;
+}; \ No newline at end of file