예제 #1
0
 void FillWaterDict()
 {
     DictionaryUtilities.CheckOrAddToDict(WaterOrbDictionary, "WaterOrb", SpellComboTypes.WATER);
     DictionaryUtilities.CheckOrAddToDict(WaterOrbDictionary, "WaterOrb2", SpellComboTypes.WATER2);
     DictionaryUtilities.CheckOrAddToDict(WaterOrbDictionary, "WaterOrb3", SpellComboTypes.WATER3);
     DictionaryUtilities.CheckOrAddToDict(WaterOrbDictionary, "WaterOrb4", SpellComboTypes.WATER4);
     DictionaryUtilities.CheckOrAddToDict(WaterOrbDictionary, "WaterOrb5", SpellComboTypes.WATER5);
     DictionaryUtilities.CheckOrAddToDict(WaterOrbDictionary, "WaterOrb6", SpellComboTypes.WATER6);
     DictionaryUtilities.CheckOrAddToDict(WaterOrbDictionary, "WaterOrb7", SpellComboTypes.WATER7);
     DictionaryUtilities.CheckOrAddToDict(WaterOrbDictionary, "WaterOrb8", SpellComboTypes.WATER8);
 }
예제 #2
0
        public static void OpenMapping()
        {
            OpenFileDialog openFileDialog = DialogUtilities.CreateOpenFileDialog(FileType.Mapping);
            DialogResult   result         = openFileDialog.ShowDialog();

            if (result != DialogResult.OK)
            {
                return;
            }
            string fileName = openFileDialog.FileName;

            mappingCurrent         = GetMappingDictionary(fileName);
            mappingCurrentReversed = DictionaryUtilities.ReverseDictionary(mappingCurrent);
        }
예제 #3
0
 void FillDarknessDict()
 {
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness", SpellComboTypes.DARK);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness2", SpellComboTypes.DARK2);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness3", SpellComboTypes.Dark3);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness4", SpellComboTypes.Dark4);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness5", SpellComboTypes.Dark5);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness6", SpellComboTypes.Dark6);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness7", SpellComboTypes.Dark7);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness8", SpellComboTypes.Dark8);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness9", SpellComboTypes.Dark9);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness10", SpellComboTypes.Dark10);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness11", SpellComboTypes.Dark11);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness12", SpellComboTypes.Dark12);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness13", SpellComboTypes.Dark13);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness14", SpellComboTypes.Dark14);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness15", SpellComboTypes.Dark15);
     DictionaryUtilities.CheckOrAddToDict(DarknessDictionary, "Darkness16", SpellComboTypes.Dark16);
 }
예제 #4
0
 void FillLightDict()
 {
     DictionaryUtilities.CheckOrAddToDict(LightBeamDictionary, "Light", SpellComboTypes.LIGHT);
     DictionaryUtilities.CheckOrAddToDict(LightBeamDictionary, "Light2", SpellComboTypes.LIGHT2);
 }
예제 #5
0
 void FillLighningDict()
 {
     DictionaryUtilities.CheckOrAddToDict(LightningDictionary, "Lightning", SpellComboTypes.LIGHTNING);
     DictionaryUtilities.CheckOrAddToDict(LightningDictionary, "Lightning2", SpellComboTypes.LIGHTNING2);
 }
예제 #6
0
 void FillEarthDict()
 {
     DictionaryUtilities.CheckOrAddToDict(EarthDictionary, "Earth", SpellComboTypes.EARTH);
     DictionaryUtilities.CheckOrAddToDict(EarthDictionary, "Earth2", SpellComboTypes.EARTH2);
 }
예제 #7
0
 void FillFireDict()
 {
     DictionaryUtilities.CheckOrAddToDict(FirenadoDictionary, "Firenado", SpellComboTypes.FIRE);
     DictionaryUtilities.CheckOrAddToDict(FirenadoDictionary, "Firenado2", SpellComboTypes.FIRE2);
 }
예제 #8
0
 public override string ToString()
 {
     return(DictionaryUtilities.GetString(_dictionary));
 }