aboutsummaryrefslogtreecommitdiffstats
path: root/include/inventory.hpp
diff options
context:
space:
mode:
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