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)();
|
(*callback)();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SGEventMgr::SGEventMgr()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
SGEventMgr::~SGEventMgr()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
void SGEventMgr::unbind()
|
void SGEventMgr::unbind()
|
||||||
{
|
{
|
||||||
_freezeProp.clear();
|
_freezeProp.clear();
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user