Exemple #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);
 }
Exemple #2
0
 public AI(MyField EF)
 {
     this.EF = EF;
 }