|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSystem.ValueType
Microsoft.Xna.Framework.Input.GamePadDPad
public final class GamePadDPad
Identifies which directions on the directional pad of an Xbox 360 Controller are being pressed.
Field Summary | |
---|---|
ButtonState |
Down
Identifies whether the Down direction on the Xbox 360 Controller directional pad is pressed. |
ButtonState |
Left
Identifies whether the Left direction on the Xbox 360 Controller directional pad is pressed. |
ButtonState |
Right
Identifies whether the Right direction on the Xbox 360 Controller directional pad is pressed. |
ButtonState |
Up
Identifies whether the Up direction on the Xbox 360 Controller directional pad is pressed. |
Constructor Summary | |
---|---|
GamePadDPad(ButtonState upValue,
ButtonState downValue,
ButtonState leftValue,
ButtonState rightValue)
Initializes a new instance of the GamePadDPad class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns a value that indicates whether the current instance is equal to a specified object. |
int |
hashCode()
Gets the hash code for this instance. |
java.lang.String |
toString()
Retrieves a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final ButtonState Up
public final ButtonState Right
public final ButtonState Down
public final ButtonState Left
Constructor Detail |
---|
public GamePadDPad(ButtonState upValue, ButtonState downValue, ButtonState leftValue, ButtonState rightValue)
upValue
- Directional pad up button state.downValue
- Directional pad down button state.leftValue
- Directional pad left button state.rightValue
- Directional pad right button state.Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object with which to make the comparison.
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |