| KeyboardPlayer Class |
Namespace: (Default Namespace)
[SerializableAttribute] public class KeyboardPlayer : IPlayer
The KeyboardPlayer type exposes the following members.
| Name | Description | |
|---|---|---|
| KeyboardPlayer |
Constructs a new player based on one of 4 possible sets of default key mappings
|
| 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 | |
|---|---|---|
| key_button1 |
Specifies which keyboard key maps to button 1.
| |
| key_button2 |
Specifies which keyboard key maps to button 2.
| |
| key_button3 |
Specifies which keyboard key maps to button 3.
| |
| key_button4 |
Specifies which keyboard key maps to button 4.
| |
| key_down |
Specifies which keyboard key maps to the notion of pressing down.
| |
| key_left |
Specifies which keyboard key maps to the notion of pressing left.
| |
| key_right |
Specifies which keyboard key maps to the notion of pressing right.
| |
| key_up |
Specifies which keyboard key maps to the notion of pressing up.
|
| Name | Description | |
|---|---|---|
| Button1 |
See Button1.
| |
| Button2 |
See Button2.
| |
| Button3 |
See Button3.
| |
| Button4 |
See Button4.
| |
| Down |
See Down.
| |
| Left |
See Left.
| |
| Right |
See Right.
| |
| Up |
See Up.
|