Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
EtherDuels
Config
Configuration
SetForwardKey
EtherDuels.Config.Configuration.SetForwardKey C# (CSharp) Method
Configuration Class Documentation
Show file
Open project: julius/pse_spacewar
SetForwardKey()
public
method
Sets the forward key for the player specified by the playerID.
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 void SetForwardKey(int playerID, Keys key) { keyConfigurations[playerID].Forward = key; }
Configuration
Configuration
Equals
GetKeyboardConfiguration
GetObjectData
Save
SetBackwardKey
SetFireKey
SetForwardKey
SetKeyboardConfiguration
SetLeftKey
SetNextWeaponKey
SetPrevWeaponKey
SetRightKey