public static class WorldObserver.Listener.Adapter extends java.lang.Object implements WorldObserver.Listener
WorldObserver.Listener.Adapter| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
changed(com.badlogic.gdx.physics.box2d.Body body,
WorldObserver.BodyChange change) |
void |
changed(com.badlogic.gdx.physics.box2d.Fixture fixture,
WorldObserver.FixtureChange change) |
void |
changed(com.badlogic.gdx.physics.box2d.Joint joint,
WorldObserver.JointChange change) |
void |
changed(com.badlogic.gdx.physics.box2d.World world,
WorldObserver.WorldChange change) |
void |
created(com.badlogic.gdx.physics.box2d.Body body) |
void |
created(com.badlogic.gdx.physics.box2d.Fixture fixture) |
void |
created(com.badlogic.gdx.physics.box2d.Joint joint) |
void |
destroyed(com.badlogic.gdx.physics.box2d.Body body) |
void |
destroyed(com.badlogic.gdx.physics.box2d.Fixture fixture) |
void |
destroyed(com.badlogic.gdx.physics.box2d.Joint joint) |
void |
postUpdate(com.badlogic.gdx.physics.box2d.World world,
float step)
called at the very end of
WorldObserver.update(World, float) |
void |
preUpdate(com.badlogic.gdx.physics.box2d.World world,
float step)
called at the very beginning of
WorldObserver.update(World, float) |
void |
removedFrom(WorldObserver observer) |
void |
setOn(WorldObserver observer) |
public void setOn(WorldObserver observer)
setOn in interface WorldObserver.Listenerobserver - the WorldObserver this Listener has just been set onpublic void removedFrom(WorldObserver observer)
removedFrom in interface WorldObserver.Listenerobserver - the WorldObserver this Listener has just been removed frompublic void preUpdate(com.badlogic.gdx.physics.box2d.World world,
float step)
WorldObserver.ListenerWorldObserver.update(World, float)preUpdate in interface WorldObserver.Listenerpublic void postUpdate(com.badlogic.gdx.physics.box2d.World world,
float step)
WorldObserver.ListenerWorldObserver.update(World, float)postUpdate in interface WorldObserver.Listenerpublic void changed(com.badlogic.gdx.physics.box2d.World world,
WorldObserver.WorldChange change)
changed in interface WorldObserver.Listenerworld - the World that changedchange - the changepublic void changed(com.badlogic.gdx.physics.box2d.Body body,
WorldObserver.BodyChange change)
changed in interface WorldObserver.Listenerbody - the Body that changedchange - the changepublic void created(com.badlogic.gdx.physics.box2d.Body body)
created in interface WorldObserver.Listenerbody - the created Bodypublic void destroyed(com.badlogic.gdx.physics.box2d.Body body)
destroyed in interface WorldObserver.Listenerbody - the destroyed Bodypublic void changed(com.badlogic.gdx.physics.box2d.Fixture fixture,
WorldObserver.FixtureChange change)
changed in interface WorldObserver.Listenerfixture - the Fixture that changedchange - the changepublic void created(com.badlogic.gdx.physics.box2d.Fixture fixture)
created in interface WorldObserver.Listenerfixture - the created Fixturepublic void destroyed(com.badlogic.gdx.physics.box2d.Fixture fixture)
destroyed in interface WorldObserver.Listenerfixture - the destroyed Fixturepublic void changed(com.badlogic.gdx.physics.box2d.Joint joint,
WorldObserver.JointChange change)
changed in interface WorldObserver.Listenerjoint - the Joint that changedchange - the changepublic void created(com.badlogic.gdx.physics.box2d.Joint joint)
created in interface WorldObserver.Listenerjoint - the created Jointpublic void destroyed(com.badlogic.gdx.physics.box2d.Joint joint)
destroyed in interface WorldObserver.Listenerjoint - the destroyed Joint