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

SetLeftKey() public method

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