org.vigia.client
Class Client.ClientIRListener

java.lang.Object
  extended by org.vigia.client.Client.ClientIRListener
All Implemented Interfaces:
IRListener
Enclosing class:
Client

protected class Client.ClientIRListener
extends java.lang.Object
implements IRListener

The corrdinates converter.

Author:
Ada

Constructor Summary
protected Client.ClientIRListener()
           
 
Method Summary
 void onIREvent(Coordinates c)
          Actions to do when the Wiimote detects a change in the position of the infrared leds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Client.ClientIRListener

protected Client.ClientIRListener()
Method Detail

onIREvent

public void onIREvent(Coordinates c)
               throws VigiaClientException
Description copied from interface: IRListener
Actions to do when the Wiimote detects a change in the position of the infrared leds.

Specified by:
onIREvent in interface IRListener
Parameters:
c - the new coordinates of the Wiimote.
Throws:
VigiaClientException - error from the listener.
See Also:
IRListener.onIREvent(org.vigia.client.driver.Coordinates)