aboutsummaryrefslogtreecommitdiffstats
path: root/src/items.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-06-08 08:41:44 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-06-08 08:41:44 -0400
commit6f23c384bb07db5e0c4bdaf0a0340d0af47475d8 (patch)
treeaa160f1c92352f48dc3339331ab6c87c75ac972c /src/items.cpp
parent7dd64863c9ca613cf6969442f621849762b20115 (diff)
Lighting!
Diffstat (limited to 'src/items.cpp')
-rw-r--r--src/items.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/items.cpp b/src/items.cpp
index 6c65b59..eacf5a9 100644
--- a/src/items.cpp
+++ b/src/items.cpp
@@ -158,6 +158,11 @@ int Food::useItem()
return 0;
}
+int ItemLight::useItem()
+{
+ std::cout << "fsdfsdf" << std::endl;
+ return 0;
+}
/**************************************************
* CLONE *
@@ -193,6 +198,10 @@ RawFood* RawFood::clone()
return new RawFood(*this);
}
+ItemLight* ItemLight::clone()
+{
+ return new ItemLight(*this);
+}
/************************************************************************************
* ITEM SPECIFIC *
************************************************************************************/