Пример #1
0
 public bool IsItSuitable(Button[] Ship)
 {
     foreach (Button MyShip in Ship)
     {
         (int i, int j) = MyField.FindIndex(MyShip.Location.X, MyShip.Location.Y);
         if (IsItTrue(i, j))
         {
             return(false);
         }
     }
     return(true);
 }
Пример #2
0
 public AI(MyField EF)
 {
     this.EF = EF;
 }