From 6f23c384bb07db5e0c4bdaf0a0340d0af47475d8 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Wed, 8 Jun 2016 08:41:44 -0400 Subject: Lighting! --- src/items.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/items.cpp') 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 * ************************************************************************************/ -- cgit v1.2.3