Example usage for com.badlogic.gdx.physics.box2d ContactListener endContact

List of usage examples for com.badlogic.gdx.physics.box2d ContactListener endContact

Introduction

In this page you can find the example usage for com.badlogic.gdx.physics.box2d ContactListener endContact.

Prototype

public void endContact(Contact contact);

Source Link

Document

Called when two fixtures cease to touch.

Usage

From source file:com.stercore.code.net.dermetfan.utils.libgdx.box2d.ContactMultiplexer.java

License:Apache License

@Override
public void endContact(Contact contact) {
    for (ContactListener listener : receivers)
        listener.endContact(contact);
}

From source file:org.gmxteam.funkydomino.physics.box2d.ContactManager.java

License:Open Source License

/**
 *
 * @param cntct/*from  w  ww .j  a va  2  s.c  om*/
 */
public void endContact(Contact cntct) {

    final ContactListener cl = mBodies.get(cntct.getFixtureA().getBody());

    if (cl != null) {
        cl.endContact(cntct);
    }

}