Board searchBoard; // Duplikat planszy dla szukania możliwości dla Ai void Start() { if (useClocks) { whiteClock.isTurnToMove = false; blackClock.isTurnToMove = false; } boardUI = FindObjectOfType <BoardUI>(); gameMoves = new List <Move>(); board = new Board(); searchBoard = new Board(); aiSettings.diagnostics = new Search.SearchDiagnostics(); NewGame(whitePlayerType, blackPlayerType); }
void Start() { activeArrows = new List <Transform> (); boardUI = FindObjectOfType <BoardUI> (); cam = Camera.main; }
public HumanPlayer(Board board) { boardUI = Object.FindObjectOfType <BoardUI>(); cam = Camera.main; this.board = board; }