Пример #1
0
    public void FinishCombat()
    {
        CombatCallBack callBack = App.Model.combatModel.combatFinishedCallBack;

        App.Model.combatModel.FinishCombat();
        callBack();
    }
Пример #2
0
 public void FinishCombat()
 {
     normalMonstersToFight.Clear();
     normalMonstersFought.Clear();
     epicMonstersToFight.Clear();
     epicMonstersFought.Clear();
     currentInvestigator    = null;
     numSuccesses           = 0;
     combatFinishedCallBack = null;
 }
Пример #3
0
    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);
            }
        }
    }
Пример #4
0
 // 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();
 }