Sha256: 19895c5f26008d660acb101a5b8525e331c4c13090ae38b476bc19fac5b05cd2

Contents?: true

Size: 578 Bytes

Versions: 7

Compression:

Stored size: 578 Bytes

Contents

/**
 * Reduce typing by using ContactAdaptor rather than ContactListener
 * @author Martin Prout
 */
package org.jbox2d.callbacks;

import org.jbox2d.collision.Manifold;
import org.jbox2d.dynamics.contacts.Contact;

public abstract class ContactAdaptor implements ContactListener {

    @Override
    public void beginContact(Contact cntct) {
    }

    @Override
    public void endContact(Contact cntct) {
    }

    @Override
    public void preSolve(Contact cntct, Manifold mnfld) {
    }

    @Override
    public void postSolve(Contact cntct, ContactImpulse ci) {
    }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pbox2d-1.0.3-java src/org/jbox2d/callbacks/ContactAdaptor.java
pbox2d-1.0.2-java src/org/jbox2d/callbacks/ContactAdaptor.java
pbox2d-1.0.1-java src/org/jbox2d/callbacks/ContactAdaptor.java
pbox2d-1.0.0-java src/org/jbox2d/callbacks/ContactAdaptor.java
pbox2d-0.9.1-java src/org/jbox2d/callbacks/ContactAdaptor.java
pbox2d-0.9.0-java src/org/jbox2d/callbacks/ContactAdaptor.java
pbox2d-0.8.0-java src/org/jbox2d/callbacks/ContactAdaptor.java