public Battle() { //BattleEvents Bevents = new BattleEvent(); //BEvents.GetCharArr(); *Returns Arr to use in battle; // string[]... * Use and update in battle;-> form1 //... // BEvents.UpdateChar(string[]); -> *Makes a CharLine* -> *Vika Update Save.UpdateCurFile(charLine)* -> Save.UpdateSaved(); InitializeComponent(); foreach (var n in Saves.heroes) { if (Saves.SetHeroName.ToString() == n.Name) { PLvl = n.Lvl; break; } } CreateChars create = new CreateChars(PushMob); create += PushPlayer; create.Invoke(12); CalculateDmg(); usedShield = false; usedHeal = false; //GetHeroInfo //../ // UpdateChanges timer1.Start(); }
public Battle() { InitializeComponent(); foreach (var n in Saves.heroes) { if (Saves.SetHeroName.ToString() == n.Name) { PLvl = n.Lvl; break; } } CreateChars create = new CreateChars(PushMob); create += PushPlayer; create.Invoke(initialShotSpeed); CalculateDmg(); usedShield = false; usedHeal = false; timer1.Start(); }