diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-11-29 03:37:59 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-11-29 03:37:59 +0100 |
| commit | 20b90c175988bf01b4c0933d956879f5848c6195 (patch) | |
| tree | ca517cff9037b43b63f7a81151fff81cb7d8383a /labb5/src/Boggle.h | |
| parent | 9d5d006302108c07bc3002a1e3f553607f58711b (diff) | |
| download | tddd86-20b90c175988bf01b4c0933d956879f5848c6195.tar.gz | |
better debug mode
Diffstat (limited to 'labb5/src/Boggle.h')
| -rwxr-xr-x | labb5/src/Boggle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/labb5/src/Boggle.h b/labb5/src/Boggle.h index b134218..1c73f3d 100755 --- a/labb5/src/Boggle.h +++ b/labb5/src/Boggle.h @@ -37,6 +37,7 @@ public: string board_to_string() const; string user_words_to_string(int words_per_line = 8) const; string computer_words_to_string(int words_per_line = 8) const; + string words_to_string(const set<string>& words, int words_per_line = 8) const; void do_computer_turn(); int get_computer_words_size() const; @@ -52,7 +53,6 @@ public: private: void find_all_words_helper(set<string>& words, point cur_point, string cur_word, set<point> visited) const; bool find_single_word_helper(const string& word, point cur_point, string cur_word, set<point> visited) const; - string words_to_string(const set<string>& words, int words_per_line) const; Lexicon dictionary; Grid<char> board; |
