diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-06-08 08:41:44 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-06-08 08:41:44 -0400 |
commit | 6f23c384bb07db5e0c4bdaf0a0340d0af47475d8 (patch) | |
tree | aa160f1c92352f48dc3339331ab6c87c75ac972c /src/items.cpp | |
parent | 7dd64863c9ca613cf6969442f621849762b20115 (diff) |
Lighting!
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 * ************************************************************************************/ |