|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vigia.test.CoordinatesPrinter
public class CoordinatesPrinter
Printer of the Wiimote coordinates.
Constructor Summary | |
---|---|
CoordinatesPrinter()
|
Method Summary | |
---|---|
void |
onIREvent(Coordinates c,
int xVRes,
int yVRes)
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 |
---|
public CoordinatesPrinter()
Method Detail |
---|
public void onIREvent(Coordinates c, int xVRes, int yVRes) throws VigiaClientException
IRListener
onIREvent
in interface IRListener
c
- the new coordinates of the Wiimote.xVRes
- IR virtual screen x resolution.yVRes
- IR virtual screen y resolution.
VigiaClientException
- error from the listener.IRListener.onIREvent(org.vigia.client.driver.Coordinates, int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |