public PlayerConfiguration(AbstractNameOptions AbstractName, ModeOptions Mode, NameOptions Name, PresetCardsOptions PresetCards) { this.AbstractName = AbstractName; this.Mode = Mode; this.Name = Name; this.PresetCards = PresetCards; }
public PlayerConfiguration(string[] msg) { AbstractName = strToAbstractName[msg[0]]; Mode = strToMode[msg[1]]; Name = strToName[msg[2]]; PresetCards = strToPresetCards[msg[3]]; }