Ejemplo n.º 1
0
 internal void ApplyBiteToOneOfMultipleHunters(int hunterIndex, UserInterface ui)
 {
     int hunterIndexBitten;
     do
     {
         hunterIndexBitten = ui.GetIndexOfHunterBitten();
         if (Hunters[hunterIndexBitten].CurrentLocation != Hunters[hunterIndex].CurrentLocation)
         {
             ui.TellUser(Hunters[hunterIndexBitten].Name + " is not at the same location as " + Hunters[hunterIndex].Name);
         }
     } while (Hunters[hunterIndexBitten].CurrentLocation != Hunters[hunterIndex].CurrentLocation);
     ApplyBiteToHunter(hunterIndexBitten, ui);
 }