void OpponentsInLocation() { if (currentRoom.boss == true) { attenuation.TheAppearanceOfObject("Boss"); } else { attenuation.TheAppearanceOfObject("Ambush"); } }
public void AcceptsAndRedirects(string Key, string KeyOne, string KeyTwo) { if (Key == "тсл") { attenuation.TheAppearanceOfObject("Level"); } if (Key == "новая" && KeyOne == "игра" || Key == "new" && KeyOne == "game") { AcceptsAKeyForStart(); } if (Key == "загрузить" || Key == "loading") { AcceptsAKeyForLoad(); } if (Key == "настройки" || Key == "settings") { ActionPoint = "Настройки"; TransitionsToTheMenu(); } if (Key == "назад" || Key == "back") { ActionPoint = "Главное меню"; TransitionsToTheMenu(); } }
public void DataTransferAndSaveData() { characteristicsHero.Name = Name; characteristicsHero.Race = Race; characteristicsHero.Class = Class; characteristicsHero.StoryClass = StoryClass; characteristicsHero.FullHealth = FullHealth; characteristicsHero.CurrentHealth = CurrentFullHealth; characteristicsHero.MaxArmor = MaxArmor; characteristicsHero.MinArmor = MinArmor; characteristicsHero.MaxAttack = MaxAttack; characteristicsHero.MinAttack = MinAttack; characteristicsHero.MaxAbility = MaxAbility; characteristicsHero.MinAbility = MinAbility; characteristicsHero.Block = Block; characteristicsHero.PotionX = PotionX; characteristicsHero.Regen = 0.5f; characteristicsHero.ForFirstSaveBody(); characteristicsHero.SaveInformationsHeroes(); characteristicsHero.SaveMaxCharacteristicsHero(); characteristicsHero.SaveCurCharacteristicsHero(); attenuation.TheAppearanceOfObject("Level"); }