diff options
Diffstat (limited to 'labb5/src/Boggle.h')
| -rwxr-xr-x | labb5/src/Boggle.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/labb5/src/Boggle.h b/labb5/src/Boggle.h index 95dd0b7..7a42fd1 100755 --- a/labb5/src/Boggle.h +++ b/labb5/src/Boggle.h @@ -1,8 +1,7 @@ -// This is the .h file you will edit and turn in. -// We have provided a minimal skeleton for you, -// but you must finish it as described in the spec. -// Also remove these comments here and add your own, as well as on the members. -// TODO: remove this comment header and replace it with your own +/* + * TDDD86 Lab 5 - gusso230 (group 11) + * This file contains the structure for the Boggle state. + */ #ifndef _boggle_h #define _boggle_h @@ -91,7 +90,14 @@ public: int get_user_words_size() const; int get_user_score() const; + /* + * Return whether a word is a valid word in the dictionary. + */ bool word_is_valid(const string& word) const; + + /* + * Return whether a word has been played by the user already. + */ bool word_is_unplayed(const string& word) const; /* |
