|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ActorAdvancer.Environment
Provides a callback mechanism to allow the advancer to query the actor's environment while advancing it.
| Method Summary | |
|---|---|
boolean |
collides(Actor actor,
Shape shape)
Checks whether the actor is colliding with anything. |
boolean |
getPenetration(Actor actor,
Shape shape,
Vector2f result)
Checks whether the actor is colliding with anything and, if it is, populates the provided object with the penetration vector (the minimum translation required to cancel the penetration). |
TudeySceneModel |
getSceneModel()
Returns a reference to the scene model. |
| Method Detail |
|---|
TudeySceneModel getSceneModel()
boolean getPenetration(Actor actor,
Shape shape,
Vector2f result)
boolean collides(Actor actor,
Shape shape)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||