Module org.dyn4j
Package org.dyn4j.collision
Interface FixtureModificationHandler<T extends Fixture>
-
- Type Parameters:
T
- theFixture
type
public interface FixtureModificationHandler<T extends Fixture>
Represents a hook into aCollisionBody
to be notified ofFixture
modification events.- Since:
- 4.0.0
- Version:
- 4.0.0
- Author:
- William Bittle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAllFixturesRemoved()
Called when allFixture
s have been removed from aCollisionBody
.void
onFixtureAdded(T fixture)
Called when aFixture
has been added to aCollisionBody
.void
onFixtureRemoved(T fixture)
Called when aFixture
has been removed from aCollisionBody
.
-
-
-
Method Detail
-
onFixtureAdded
void onFixtureAdded(T fixture)
Called when aFixture
has been added to aCollisionBody
.- Parameters:
fixture
- the fixture added
-
onFixtureRemoved
void onFixtureRemoved(T fixture)
Called when aFixture
has been removed from aCollisionBody
.- Parameters:
fixture
- the fixture removed
-
onAllFixturesRemoved
void onAllFixturesRemoved()
Called when allFixture
s have been removed from aCollisionBody
.
-
-