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)();
}
SGEventMgr::SGEventMgr()
{
}
SGEventMgr::~SGEventMgr()
{
}
void SGEventMgr::unbind()
{
_freezeProp.clear();

View File

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