aboutsummaryrefslogtreecommitdiffstats
path: root/include/inventory.h
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-12-08 15:56:17 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-12-08 15:56:17 -0500
commit443b77e47a7ef3a137e39c64abb277229a665d03 (patch)
tree034bb1f4440cdd5356799e8e3a5e56dce25cfd59 /include/inventory.h
parent43403a16cd3c625906a6d5417d2108df1ddfb6ce (diff)
Sword can now kill the first entity
Diffstat (limited to 'include/inventory.h')
-rw-r--r--include/inventory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/inventory.h b/include/inventory.h
index 5f05f3a..31b7d88 100644
--- a/include/inventory.h
+++ b/include/inventory.h
@@ -73,7 +73,7 @@ public:
bool invHover = false;
bool selected = false;
bool mouseSel = false;
-
+ bool usingi = false;
Inventory(unsigned int s); // Creates an inventory of size 's'
~Inventory(void); // Free's allocated memory
@@ -81,6 +81,7 @@ public:
int addItem(ITEM_ID id,unsigned char count); // Add 'count' items with an id of 'id' to the inventory
int takeItem(ITEM_ID id,unsigned char count); // Take 'count' items with an id of 'id' from the inventory
int useItem(void);
+ bool detectCollision(vec2,vec2);
void setSelection(unsigned int s);