com.jme.input.controls.controller
Interface GameControlAction


public interface GameControlAction

GameControlAction is part of the ActionController and allows pressed and released actions to be invoked for a control.

Author:
Matthew D. Hicks

Method Summary
 void pressed(GameControl control, float time)
          Invoked when the control is pressed
 void released(GameControl control, float time)
          Invoked when the control is released
 

Method Detail

pressed

void pressed(GameControl control,
             float time)
Invoked when the control is pressed

Parameters:
control - The control that threw this action
time - The amount of time that has elapsed since the last status change of this control

released

void released(GameControl control,
              float time)
Invoked when the control is released

Parameters:
control - The control that threw this action
time - The amount of time that has elapsed since the last status change of this control