ControllerPlayer Class |
Namespace: (Default Namespace)
[SerializableAttribute] public class ControllerPlayer : IPlayer
The ControllerPlayer type exposes the following members.
Name | Description | |
---|---|---|
ControllerPlayer |
Constructs a player object that links input from the specified game controller device
to game input.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
buttonMap |
Array of 4 integers mapping controller button numbers to player button inputs.
| |
deviceNumber |
Name | Description | |
---|---|---|
Button1 |
See Button1.
| |
Button2 |
See Button2.
| |
Button3 |
See Button3.
| |
Button4 |
See Button4.
| |
Down |
See Down.
| |
Left |
See Left.
| |
MyController | ||
Right |
See Right.
| |
Up |
See Up.
|