Interface DestructionListener


  • public interface DestructionListener
    Joints and fixtures are destroyed when their associated body is destroyed. Implement this listener so that you may nullify references to these joints and shapes.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void sayGoodbye​(Fixture fixture)
      Called when any fixture is about to be destroyed due to the destruction of its parent body.
      void sayGoodbye​(Joint joint)
      Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.
    • Method Detail

      • sayGoodbye

        void sayGoodbye​(Joint joint)
        Called when any joint is about to be destroyed due to the destruction of one of its attached bodies.
        Parameters:
        joint -
      • sayGoodbye

        void sayGoodbye​(Fixture fixture)
        Called when any fixture is about to be destroyed due to the destruction of its parent body.
        Parameters:
        fixture -