New system to get events. git-svn-id: http://wiiusej.googlecode.com/svn/trunk@52 ae48ae66-6a45-0410-b38e-211266189506
25 lines
518 B
Java
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;
|
|
}
|
|
|
|
}
|