org.xith3d.input.modules.fpih
Interface MovementListener


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

onPlayerMovementStarted

void onPlayerMovementStarted(FPIHInputAction command)
Called when the player starts to move into any direction.

Parameters:
command - the KeyCommand, that invoked this event

onPlayerMovementStopped

void onPlayerMovementStopped(FPIHInputAction command)
Called when the player stopps to move into any direction.

Parameters:
command - the KeyCommand, that invoked this event

onPlayerCrouched

void onPlayerCrouched()
Called, when the player crouched.


onPlayerStoodUp

void onPlayerStoodUp()
Called, when the player stood up (returned from crouched).


onPlayerJumped

void onPlayerJumped()
Called, when the player jumped.