Esempio n. 1
0
 private static bool WorseResolution(BattleConflictResolution r1, BattleConflictResolution r2)
 {
     return (int) r1.ConflictResult < (int) r2.ConflictResult;
 }
Esempio n. 2
0
        private static List<BattleConflictResolution> GetSimultaneousConflicts(BattleConflictResolution resolution)
        {
            List<BattleConflictResolution> simConfs = new List<BattleConflictResolution>();

            //PrintAllResolutions();
            foreach (BattleConflictResolution r in _Resolutions) {
                if (r.Agitator.Controller == resolution.Agitator.Controller) {
                    simConfs.Add(r);
                }
            }
            return simConfs;
        }