]> git.localhorst.tv Git - orbi.git/blobdiff - src/world/Character.h
rotatable arm for character entities
[orbi.git] / src / world / Character.h
diff --git a/src/world/Character.h b/src/world/Character.h
new file mode 100644 (file)
index 0000000..8985e7a
--- /dev/null
@@ -0,0 +1,26 @@
+#ifndef ORBI_CHARACTER_H_
+#define ORBI_CHARACTER_H_
+
+#include "Entity.h"
+
+
+namespace orbi {
+
+class Character
+: public Entity {
+
+public:
+       constexpr Character() { }
+
+public:
+       AABB arm;
+       Vector<float> armOrigin;
+       float armAngle = 0;
+
+       int heldItem = -1;
+
+};
+
+}
+
+#endif