EtherDuels.Config.Configuration.SetForwardKey C# (CSharp) Method

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;
        }