aboutsummaryrefslogtreecommitdiffstats
path: root/include/inventory.hpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-04-28 10:46:38 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-04-28 10:46:38 -0400
commit68cb663a370747c325eeeeea66cca86803e4b8e5 (patch)
treeb82b7b8d77ff2a3439e99d11589bbf1a3ef1f07c /include/inventory.hpp
parent2e026aff928b30267a39ef6fdeec3e43e9f106e6 (diff)
parent174bcd3a415c21fc2c59a3af1b6333faa78b37d0 (diff)
New inventory system
Diffstat (limited to 'include/inventory.hpp')
-rw-r--r--include/inventory.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/inventory.hpp b/include/inventory.hpp
index a568faf..a41d4d4 100644
--- a/include/inventory.hpp
+++ b/include/inventory.hpp
@@ -26,6 +26,9 @@ public:
// the array of textures for each frame of animation
Texturec *tex;
+ // how much the item is rotated in the hand
+ float rotation = 0.0f;
+
/**
* The function we use to call the child classes ability
* Note: Since this function is abstract, we HAVE to create one for each