org.vigia.client.driver
Interface IRListener

All Known Subinterfaces:
Controller
All Known Implementing Classes:
ClientController, CoordinatesPrinter, MovementPrinter, ViewTest

public interface IRListener

The infrared event listener.

Author:
Ada

Method Summary
 void onIREvent(Coordinates c, int xVRes, int xYRes)
          Actions to do when the Wiimote detects a change in the position of the infrared leds.
 

Method Detail

onIREvent

void onIREvent(Coordinates c,
               int xVRes,
               int xYRes)
               throws VigiaClientException,
                      java.io.IOException
Actions to do when the Wiimote detects a change in the position of the infrared leds.

Parameters:
c - the new coordinates of the Wiimote.
xVRes - IR virtual screen x resolution.
xYRes - IR virtual screen y resolution.
Throws:
VigiaClientException - error from the listener.
java.io.IOException - error with the communications.