Reset: pin ctor and dtor of event manager.

This commit is contained in:
James Turner 2013-11-05 05:16:50 +00:00
parent 2e8e500d4f
commit dd613d48bc
2 changed files with 12 additions and 2 deletions

View File

@ -38,6 +38,16 @@ void SGTimer::run()
(*callback)(); (*callback)();
} }
SGEventMgr::SGEventMgr()
{
}
SGEventMgr::~SGEventMgr()
{
}
void SGEventMgr::unbind() void SGEventMgr::unbind()
{ {
_freezeProp.clear(); _freezeProp.clear();

View File

@ -68,8 +68,8 @@ private:
class SGEventMgr : public SGSubsystem class SGEventMgr : public SGSubsystem
{ {
public: public:
SGEventMgr() { _rtProp = 0; } SGEventMgr();
~SGEventMgr() { _rtProp = 0; } ~SGEventMgr();
virtual void init() {} virtual void init() {}
virtual void update(double delta_time_sec); virtual void update(double delta_time_sec);