Esempio n. 1
0
        //---------------------------------------------------------------------------

        public void ClearFixtures()
        {
            if (Fixtures.Count > 0)
            {
                Body body = Fixtures.First().Body;
                if (body != null)
                {
                    foreach (Fixture fixture in Fixtures)
                    {
                        body.DestroyFixture(fixture);
                    }
                    Fixtures.Clear();
                }
            }
        }