Reset: pin ctor and dtor of event manager.
This commit is contained in:
parent
2e8e500d4f
commit
dd613d48bc
@ -38,6 +38,16 @@ void SGTimer::run()
|
||||
(*callback)();
|
||||
}
|
||||
|
||||
SGEventMgr::SGEventMgr()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
SGEventMgr::~SGEventMgr()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void SGEventMgr::unbind()
|
||||
{
|
||||
_freezeProp.clear();
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user