this version without bugs
This commit is contained in:
@@ -13,4 +13,7 @@ games::games(QSize formsize, QPoint startpnt, QPoint finishpnt, int sizeofcell)
|
||||
Cells[i] = new int[size.height()];
|
||||
for (int j = 0; j < size.height(); j++) Cells[i][j] = 0;
|
||||
}
|
||||
Cells[start.x()][start.y()] = 10;
|
||||
Cells[finish.x()][finish.y()] = 10;
|
||||
qDebug() << start << finish;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user