summaryrefslogtreecommitdiffstats
path: root/src/Entity.hpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-12 17:09:16 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-08-12 17:09:16 +0200
commit45de7d0537d2caec7d0a7ede48e2b72301bc9da9 (patch)
treeaf17dd093da09dc77a3a07a3d4835a1b5e5b85f6 /src/Entity.hpp
parent2017-08-07 (diff)
downloadAltCraft-45de7d0537d2caec7d0a7ede48e2b72301bc9da9.tar
AltCraft-45de7d0537d2caec7d0a7ede48e2b72301bc9da9.tar.gz
AltCraft-45de7d0537d2caec7d0a7ede48e2b72301bc9da9.tar.bz2
AltCraft-45de7d0537d2caec7d0a7ede48e2b72301bc9da9.tar.lz
AltCraft-45de7d0537d2caec7d0a7ede48e2b72301bc9da9.tar.xz
AltCraft-45de7d0537d2caec7d0a7ede48e2b72301bc9da9.tar.zst
AltCraft-45de7d0537d2caec7d0a7ede48e2b72301bc9da9.zip
Diffstat (limited to 'src/Entity.hpp')
-rw-r--r--src/Entity.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Entity.hpp b/src/Entity.hpp
new file mode 100644
index 0000000..6df7983
--- /dev/null
+++ b/src/Entity.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "Utility.hpp"
+#include "Vector.hpp"
+
+struct Entity {
+ Uuid uuid;
+ VectorF pos;
+ VectorF vel;
+ unsigned int entityId;
+ double yaw;
+ double pitch;
+ static VectorF DecodeVelocity(short x, short y, short z);
+}; \ No newline at end of file