Files
jlibwiiuse/WiiUseJ/src/wiiusej/wiiuseapievents/DisconnectionEvent.java
guilhem.duche 49b8efa836 first draft with new version working on wiiuse 0.10.
New system to get events.

git-svn-id: http://wiiusej.googlecode.com/svn/trunk@52 ae48ae66-6a45-0410-b38e-211266189506
2008-02-14 17:52:20 +00:00

25 lines
518 B
Java

package wiiusej.wiiuseapievents;
public class DisconnectionEvent extends WiiUseApiEvent {
/**
* Construct the DisconnectionEvent setting up the id.
*
* @param id
* the Wiimote id
*/
public DisconnectionEvent(int id) {
super(id,WiiUseApiEvent.DISCONNECTION_EVENT);
}
@Override
public String toString() {
String out = "";
/* Status */
out += "/*********** DISCONNECTION EVENT : WIIMOTE ID :" + super.getWiimoteId() + " ********/\n";
return out;
}
}