aboutsummaryrefslogtreecommitdiffstats
path: root/src/items.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-06-08 08:47:31 -0400
committerClyne Sullivan <tullivan99@gmail.com>2016-06-08 08:47:31 -0400
commit6882786999581e2280c870249ae448c744767e73 (patch)
tree665eb129c395250e3f390d5e86ac8896ac636322 /src/items.cpp
parent7110a4ab054341c9f41972b06044853138f526a8 (diff)
parenta978ddfb98734514874231ed28d0395533afa25d (diff)
merge; lights, xmls
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 *
************************************************************************************/