Esempio n. 1
0
 internal void DoEscapeAsBatsMove(GameState g, UserInterface ui)
 {
     DeterminePossibleWolfFormLocations();
     foreach (LocationDetail loc in PossibleMoves)
     {
         if (g.NumberOfHuntersAtLocation(loc.Name) > 0)
         {
             PossibleMoves.Remove(loc);
         }
     }
     PossiblePowers.Clear();
     string throwAway; // declaring this only so that it can be fed into the DecideMove function; no purpose for it after that
     LocationDetail locationToMoveTo = logic.DecideMove(g, this, out throwAway);
     MoveByRoadOrSea(g, locationToMoveTo, ui);
 }