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

SetBackwardKey() public method

Sets the backward key for the player specified by the playerID.
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 void SetBackwardKey(int playerID, Keys key)
        {
            keyConfigurations[playerID].Backward = key;
        }