From a3e61c0e830c46b51c0d135962ad361c02b93243 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 1 Aug 2010 21:32:16 -0600 Subject: Remove isActive methods from buy/sell windows Uses a state variable in PlayerInfo instead. Moves isTalking from Being to PlayerInfo. Also some small cleanups. Reviewed-by: Chuck Miller --- src/event.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/event.h') diff --git a/src/event.h b/src/event.h index 03751739..1e057a05 100644 --- a/src/event.h +++ b/src/event.h @@ -63,6 +63,10 @@ public: void setFloat(const std::string &key, double value) throw (BadEvent); double getFloat(const std::string &key) const throw (BadEvent); + // Sets or gets a boolean with key to identify + void setBool(const std::string &key, bool value) throw (BadEvent); + bool getBool(const std::string &key) const throw (BadEvent); + private: std::string mEventName; -- cgit v1.2.3-70-g09d2