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

SetFireKey() public method

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