Reset: event manager can be unbound.

This commit is contained in:
James Turner 2013-10-06 19:08:54 +02:00
parent 1099a3bdf0
commit aeb0e9aac3
2 changed files with 8 additions and 1 deletions

View File

@ -38,6 +38,12 @@ void SGTimer::run()
(*callback)();
}
void SGEventMgr::unbind()
{
_freezeProp.clear();
_rtProp.clear();
}
void SGEventMgr::update(double delta_time_sec)
{
_simQueue.update(delta_time_sec);

View File

@ -73,7 +73,8 @@ public:
virtual void init() {}
virtual void update(double delta_time_sec);
virtual void unbind();
void setRealtimeProperty(SGPropertyNode* node) { _rtProp = node; }
/**