public void FinishCombat() { CombatCallBack callBack = App.Model.combatModel.combatFinishedCallBack; App.Model.combatModel.FinishCombat(); callBack(); }
public void FinishCombat() { normalMonstersToFight.Clear(); normalMonstersFought.Clear(); epicMonstersToFight.Clear(); epicMonstersFought.Clear(); currentInvestigator = null; numSuccesses = 0; combatFinishedCallBack = null; }
public void CombatStarted(Investigator i, List <Monster> monsters, bool a, CombatCallBack callback) { currentInvestigator = i; normalMonstersFought = new List <Monster>(); epicMonstersFought = new List <Monster>(); ambush = a; combatFinishedCallBack = callback; fightingEpicMonsters = false; normalMonstersToFight = new List <Monster>(); epicMonstersToFight = new List <Monster>(); foreach (Monster m in monsters) { if (m.epic) { epicMonstersToFight.Add(m); } else { normalMonstersToFight.Add(m); } } }
// Investigator is on space with monsters public void StartCombatEncounter(Investigator i, List <Monster> monsters, bool ambush, CombatCallBack callback) { App.Model.combatModel.CombatStarted(i, monsters, ambush, callback); NextFight(); }