Пример #1
0
 protected virtual void OnDestructor(CBodyDestructorEventArgs pEventArgs)
 {
     if (m_BodyDestructor != null)
     {
         m_BodyDestructor(this, pEventArgs);
     }
 }
Пример #2
0
 private void _body_Destructor(object sender, CBodyDestructorEventArgs e)
 {
     _body.Destructor -= _body_Destructor;
     _body = null;
 }
Пример #3
0
 protected virtual void OnDestructor(CBodyDestructorEventArgs pEventArgs)
 {
     if (m_BodyDestructor != null)
     {
         m_BodyDestructor(this, pEventArgs);
     }
 }