org.jagatoo.input.listeners
Class ControllerAdapter

java.lang.Object
  extended by org.jagatoo.input.listeners.ControllerAdapter
All Implemented Interfaces:
ControllerListener

public abstract class ControllerAdapter
extends java.lang.Object
implements ControllerListener

Simple adapter class that implements ControllerListener.


Constructor Summary
ControllerAdapter()
           
 
Method Summary
 void onControllerAxisChanged(ControllerAxisChangedEvent e, ControllerAxis axis, float axisDelta)
          
 void onControllerButtonPressed(ControllerButtonPressedEvent e, ControllerButton button)
          
 void onControllerButtonReleased(ControllerButtonReleasedEvent e, ControllerButton button)
          
 void onControllerButtonStateChanged(ControllerButtonEvent e, ControllerButton button, boolean state)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerAdapter

public ControllerAdapter()
Method Detail

onControllerAxisChanged

public void onControllerAxisChanged(ControllerAxisChangedEvent e,
                                    ControllerAxis axis,
                                    float axisDelta)

Specified by:
onControllerAxisChanged in interface ControllerListener

onControllerButtonPressed

public void onControllerButtonPressed(ControllerButtonPressedEvent e,
                                      ControllerButton button)

Specified by:
onControllerButtonPressed in interface ControllerListener

onControllerButtonReleased

public void onControllerButtonReleased(ControllerButtonReleasedEvent e,
                                       ControllerButton button)

Specified by:
onControllerButtonReleased in interface ControllerListener

onControllerButtonStateChanged

public void onControllerButtonStateChanged(ControllerButtonEvent e,
                                           ControllerButton button,
                                           boolean state)

Specified by:
onControllerButtonStateChanged in interface ControllerListener