Method | Description | |
---|---|---|
Configuration ( ) : System |
Constructor which initializes the KeyboardConfiguration Array. Currently, fixed sized of 10 players.
|
|
Configuration ( |
Creates a new Configuration.
|
|
Equals ( |
Checks if the assigned Configuration object is equal to this one. Objects are defined equal if all the respective settings match with each other.
|
|
GetKeyboardConfiguration ( int playerID ) : |
Returns the KeyboardConfiguration of the specified player.
|
|
GetObjectData ( |
Adds all important values to the SerializationInfo.
|
|
Save ( ) : void |
Saves the current Configuration to a file.
|
|
SetBackwardKey ( int playerID, Keys key ) : void |
Sets the backward key for the player specified by the playerID.
|
|
SetFireKey ( int playerID, Keys key ) : void |
Sets the fire key for the player specified by the playerID.
|
|
SetForwardKey ( int playerID, Keys key ) : void |
Sets the forward key for the player specified by the playerID.
|
|
SetKeyboardConfiguration ( int playerID, |
Sets the KeyboardConfiguration for the specified player.
|
|
SetLeftKey ( int playerID, Keys key ) : void |
Sets the turn-left key for the player specified by the playerID.
|
|
SetNextWeaponKey ( int playerID, Keys key ) : void |
Sets the next-weapon key for the player specified by the playerID.
|
|
SetPrevWeaponKey ( int playerID, Keys key ) : void |
Sets the prev-weapon key for the player specified by the playerID.
|
|
SetRightKey ( int playerID, Keys key ) : void |
Sets the turn-right key for the player specified by the playerID.
|
public Configuration ( |
||
info | Info on how to serialize this class. | |
ctxt | The assigned StreamingContext. | |
return | System |
public Equals ( |
||
secConf | ||
return | bool |
public GetKeyboardConfiguration ( int playerID ) : |
||
playerID | int | The ID which specifies the player. |
return |
public GetObjectData ( |
||
info | The assigned SerializationInfo. | |
ctxt | The assigned StreamingContext. | |
return | void |
public SetBackwardKey ( int playerID, Keys key ) : void | ||
playerID | int | The ID which specifies the player. |
key | Keys | The new key which needs to be assigned. |
return | void |
public SetFireKey ( int playerID, Keys key ) : void | ||
playerID | int | The ID which specifies the player. |
key | Keys | The new key which needs to be assigned. |
return | void |
public SetForwardKey ( int playerID, Keys key ) : void | ||
playerID | int | The ID which specifies the player. |
key | Keys | The new key which needs to be assigned. |
return | void |
public SetKeyboardConfiguration ( int playerID, |
||
playerID | int | The ID which specifies the player. |
keyConfiguration | The KeyboardConfiguration of the specified player. | |
return | void |
public SetLeftKey ( int playerID, Keys key ) : void | ||
playerID | int | The ID which specifies the player. |
key | Keys | The new key which needs to be assigned. |
return | void |
public SetNextWeaponKey ( int playerID, Keys key ) : void | ||
playerID | int | The ID which specifies the player. |
key | Keys | The new key which needs to be assigned. |
return | void |
public SetPrevWeaponKey ( int playerID, Keys key ) : void | ||
playerID | int | The ID which specifies the player. |
key | Keys | The new key which needs to be assigned. |
return | void |
public SetRightKey ( int playerID, Keys key ) : void | ||
playerID | int | The ID which specifies the player. |
key | Keys | The new key which needs to be assigned. |
return | void |