From d8d9232a67a03548b827bdb0515fe7a620a488f8 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 15 Aug 2010 21:28:10 -0600 Subject: Move more to the event system Most of Net::InventoryHandler is now done through events. The ActorSpriteManager was also replaced by events. A few odds and ends were taken care of too. Reviewed-by: Bertram --- src/item.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/item.h') diff --git a/src/item.h b/src/item.h index 17be8f04..f0d16fdd 100644 --- a/src/item.h +++ b/src/item.h @@ -118,6 +118,10 @@ class Item */ int getInvIndex() const { return mInvIndex; } + void doEvent(const std::string &eventName); + + void doEvent(const std::string &eventName, int amount); + /** * Returns information about this item type. */ -- cgit v1.2.3-70-g09d2