private void SetPlayers(int p1Setting, int p2Setting) { PlayerSetting p1 = (PlayerSetting)p1Setting; PlayerSetting p2 = (PlayerSetting)p2Setting; playerTypes.Add(P1_MARKER, p1.ToString()); playerTypes.Add(P2_MARKER, p2.ToString()); }
public static void RegisterConverter(PlayerSetting name, IPlayerSettingConverter converter) { RegisterConverter(name.ToString(), converter); }