Dispose() public méthode

public Dispose ( ) : void
Résultat void
Exemple #1
0
 public void Dispose()
 {
     Body.Dispose();
     GC.SuppressFinalize(this);
 }
Exemple #2
0
        public void RemoveBody(Body body)
        {
            var fixtures = body.FixtureList.ToArray();
            foreach (var fixture in fixtures)
            {
                fixture.Dispose();
            }

            body.Dispose();
        }
Exemple #3
0
 public void Destroy(Body body)
 {
     Status = BodyStatus.Destroyed;
     ExplosionAnimation.Activate (body);
     //body.DestroyFixture();
     body.Dispose();
 }