Example #1
0
 private void challengePersonDie(Person challengePerson,Troop troop, Person killer)
 {
     if (GlobalVariables.PersonDieInChallenge)
     {
         if (troop == troop.StartingArchitecture.RobberTroop)
         {
             troop.Persons.Remove(troop.Leader);
             troop.Leader.LocationTroop = null;
         }
         else
         {
             challengePerson.KilledInBattle(killer);
         }
     }
 }