wiiusej.wiiuseapirequest
Class TwoIntValueRequest
java.lang.Object
wiiusej.wiiuseapirequest.WiiUseApiRequest
wiiusej.wiiuseapirequest.IntValueRequest
wiiusej.wiiuseapirequest.TwoIntValueRequest
public class TwoIntValueRequest
- extends IntValueRequest
Represents a request with two int values to pass to wiiuse API.
- Author:
- guiguito
Fields inherited from class wiiusej.wiiuseapirequest.WiiUseApiRequest |
WIIUSE_ACCEL_THRESHOLHD_REQUEST, WIIUSE_ACTIVATE_CONTINUOUS_REQUEST, WIIUSE_ACTIVATE_IR_TRACKING_REQUEST, WIIUSE_ACTIVATE_MOTION_SENSING_REQUEST, WIIUSE_ACTIVATE_RUMBLE_REQUEST, WIIUSE_ACTIVATE_SMOOTHING_REQUEST, WIIUSE_ALPHA_SMOOTHING_REQUEST, WIIUSE_ASPECT_RATIO_16_9, WIIUSE_ASPECT_RATIO_4_3, WIIUSE_CLOSE_CONNECTION_REQUEST, WIIUSE_DEACTIVATE_CONTINUOUS_REQUEST, WIIUSE_DEACTIVATE_IR_TRACKING_REQUEST, WIIUSE_DEACTIVATE_MOTION_SENSING_REQUEST, WIIUSE_DEACTIVATE_RUMBLE_REQUEST, WIIUSE_DEACTIVATE_SMOOTHING_REQUEST, WIIUSE_LEDS_REQUEST, WIIUSE_ORIENT_THRESHOLHD_REQUEST, WIIUSE_RESYNC, WIIUSE_SENSOR_BAR_ABOVE, WIIUSE_SENSOR_BAR_BELOW, WIIUSE_SET_VIRTUAL_RESOLUTION, WIIUSE_STATUS_REQUEST |
Constructor Summary |
TwoIntValueRequest(int id,
int type)
Constructor setting the id of the wiimote
concerned and the type of the request. |
TwoIntValueRequest(int id,
int type,
int x,
int y)
Constructor setting the id of the wiimote
concerned, the type of the request
and the two int values. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
secondIntValue
private int secondIntValue
TwoIntValueRequest
public TwoIntValueRequest(int id,
int type)
- Constructor setting the id of the wiimote
concerned and the type of the request.
- Parameters:
id
- the id of the wiimote concerned.type
- type of the request
TwoIntValueRequest
public TwoIntValueRequest(int id,
int type,
int x,
int y)
- Constructor setting the id of the wiimote
concerned, the type of the request
and the two int values.
- Parameters:
id
- the id of the wiimote concerned.type
- type of the requestx
- first int value.y
- second int value.
getSecondIntValue
public int getSecondIntValue()
- Get the second int value.
- Returns:
- the secondIntValue
setSecondIntValue
public void setSecondIntValue(int secondIntValue)
- Set the second int value.
- Parameters:
secondIntValue
- the secondIntValue to set.