public void DrawAllFigures(Figures[,] board) { int style = Fileworker.GetStyle(); for (int i = 0; i < 8; i++) { for (int j = 0; j < 8; j++) { if (board[i, j] != Figures.Empty) { CreateFigure(i, j, board[i, j], style); } } } }
private string GetStylePath() { return(Directory.GetDirectories(path + "\\images\\styles")[Fileworker.GetStyle()] + "\\"); }
public void Set(ChessLogic.Point cell, Figures figure) { CreateFigure(cell.x, cell.y, figure, Fileworker.GetStyle()); }