public class WorldObjectCollisionEvent extends Event
MovableWorldObject collides with a set of
BoundBox objects in the world. Most likely, the object in question is
an Entity or a Particle and the list of bounding boxes comes
from the surrounding Tile objects in the world. This event cannot be
cancelled.| Modifier and Type | Field | Description |
|---|---|---|
java.util.List<BoundBox> |
boundBoxes |
|
BoundBox |
entityBoundBox |
|
MovableWorldObject |
object |
| Constructor | Description |
|---|---|
WorldObjectCollisionEvent(MovableWorldObject object,
BoundBox entityBoundBox,
java.util.List<BoundBox> boundBoxes) |
public final MovableWorldObject object
public final BoundBox entityBoundBox
public final java.util.List<BoundBox> boundBoxes
public WorldObjectCollisionEvent(MovableWorldObject object, BoundBox entityBoundBox, java.util.List<BoundBox> boundBoxes)