diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-08 08:47:31 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-08 08:47:31 -0400 |
commit | 6882786999581e2280c870249ae448c744767e73 (patch) | |
tree | 665eb129c395250e3f390d5e86ac8896ac636322 /src/items.cpp | |
parent | 7110a4ab054341c9f41972b06044853138f526a8 (diff) | |
parent | a978ddfb98734514874231ed28d0395533afa25d (diff) |
merge; lights, xmls
Diffstat (limited to 'src/items.cpp')
-rw-r--r-- | src/items.cpp | 9 |
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 * ************************************************************************************/ |