diff options
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 * ************************************************************************************/ |