Reset: event manager can be unbound.

This commit is contained in:
James Turner
2013-10-09 09:59:40 +02:00
parent 1099a3bdf0
commit aeb0e9aac3
2 changed files with 8 additions and 1 deletions
+6
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);
+2 -1
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; }
/**