public GameLogic(Board b, SaveBoard s) { Counter = 0; board = b; saveBoard = s; GameOverCheck= new Boolean[]{false,false }; gameOver = false; CurrentRoundTilesToChange = new int[8, 8]; CurrentCheckTilesToChange = new int[8, 8]; }
public AI(GameRules gr, Board b, GameLogic g) { InitTimer(); board = b; tileClicked = new int[2]; aiPressedTile = new int[2]; currentCheckTilesToChange = new int[8, 8]; listOfCurrentCheckTilesToChange = new List<int[,]>(); coordinates = new List<int[]>(); score = 0; gameRules = gr; gameLogic = g; }
public GameRules(GameLogic g, Board b) { board = b; gameLogic = g; }