diff --git a/Documentation/doxygen/Doxyfile b/Documentation/doxygen/Doxyfile index b8a2748..68ddcdb 100644 --- a/Documentation/doxygen/Doxyfile +++ b/Documentation/doxygen/Doxyfile @@ -6,7 +6,7 @@ PROJECT_NAME = "QwirkleProject" PROJECT_NUMBER = 1.0.0 PROJECT_BRIEF = "Projet realisé avec Jules Lascret, Remy Portet, Jérémy Mouyon (leader)" PROJECT_LOGO = images/mylogo.png -OUTPUT_DIRECTORY = /Documentations/doxygen +OUTPUT_DIRECTORY = /docs/doxygen CREATE_SUBDIRS = NO ALLOW_UNICODE_NAMES = NO OUTPUT_LANGUAGE = English @@ -125,7 +125,7 @@ WARN_LOGFILE = # Configuration options related to the input files #--------------------------------------------------------------------------- -INPUT = ../../Sources +INPUT = Qwirkle INPUT_ENCODING = UTF-8 FILE_PATTERNS = *.c \ *.cc \ @@ -223,10 +223,10 @@ GENERATE_HTML = YES HTML_OUTPUT = html HTML_FILE_EXTENSION = .html HTML_HEADER = -HTML_FOOTER = footer.html +HTML_FOOTER = HTML_STYLESHEET = HTML_EXTRA_STYLESHEET = -HTML_EXTRA_FILES = images/CodeFirst.png images/clubinfo.png +HTML_EXTRA_FILES = HTML_COLORSTYLE_HUE = 215 HTML_COLORSTYLE_SAT = 45 HTML_COLORSTYLE_GAMMA = 240 diff --git a/Qwirkle/QwirkleClassLibrary/Board.cs b/Qwirkle/QwirkleClassLibrary/Board.cs index 9bd1c95..df2f2e8 100644 --- a/Qwirkle/QwirkleClassLibrary/Board.cs +++ b/Qwirkle/QwirkleClassLibrary/Board.cs @@ -30,13 +30,11 @@ namespace QwirkleClassLibrary { for (int i = 0; i < cells.Count; i++) { - if (this.cells[i].GetX == x && this.cells[i].GetY == y) + if (this.cells[i].GetX != x || this.cells[i].GetY != y) continue; + if (cells[i].IsFree == true) { - if (cells[i].IsFree == true) - { - return cells[i].SetTile(tile); + return cells[i].SetTile(tile); - } } } return false;