|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MovementListener
This is a movement listener for the FirstPersonInputHandler.
| Method Summary | |
|---|---|
void |
onPlayerCrouched()
Called, when the player crouched. |
void |
onPlayerJumped()
Called, when the player jumped. |
void |
onPlayerMovementStarted(FPIHInputAction command)
Called when the player starts to move into any direction. |
void |
onPlayerMovementStopped(FPIHInputAction command)
Called when the player stopps to move into any direction. |
void |
onPlayerStoodUp()
Called, when the player stood up (returned from crouched). |
| Method Detail |
|---|
void onPlayerMovementStarted(FPIHInputAction command)
command - the KeyCommand, that invoked this eventvoid onPlayerMovementStopped(FPIHInputAction command)
command - the KeyCommand, that invoked this eventvoid onPlayerCrouched()
void onPlayerStoodUp()
void onPlayerJumped()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||