Esempio n. 1
0
        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());
        }
Esempio n. 2
0
 public static void RegisterConverter(PlayerSetting name, IPlayerSettingConverter converter)
 {
     RegisterConverter(name.ToString(), converter);
 }