예제 #1
0
파일: V2DScreen.cs 프로젝트: olegzu/Swf2XNA
 public void DestroyBody(Body b)
 {
     if (b != null && b.GetWorld() != null && world.BodyCount > 0)
     {
         // avoid bodies getting removed twice by accident
         if (b.GetFixtureList() != null)
         {
             world.DestroyBody(b);
         }
     }
 }