Advertisement
Guest User

AllExist()

a guest
Dec 22nd, 2014
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1.         public static bool AllExist()
  2.         {
  3.             bool all = false;
  4.             for (int x = 0; x < 9; x++)
  5.             {
  6.                 if (Board.board.iceColumns[x].Exists)
  7.                 {
  8.                     all = true;
  9.                 }
  10.                 else
  11.                 {
  12.                     all = false;
  13.                     break;
  14.                 }
  15.             }
  16.             return all;
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement