move constant to header
This commit is contained in:
parent
5eb7c59019
commit
92b62a9990
@ -14,6 +14,9 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include "lexicon.h"
|
#include "lexicon.h"
|
||||||
|
|
||||||
|
static const int NUM_ROLLED_CUBES = 4;
|
||||||
|
|
||||||
|
|
||||||
class Boggle {
|
class Boggle {
|
||||||
public:
|
public:
|
||||||
static const std::string DICTIONARY_FILE;
|
static const std::string DICTIONARY_FILE;
|
||||||
@ -26,7 +29,7 @@ public:
|
|||||||
bool isWordPlayed(const std::string &word) const;
|
bool isWordPlayed(const std::string &word) const;
|
||||||
private:
|
private:
|
||||||
std::vector<std::string> m_playedWords;
|
std::vector<std::string> m_playedWords;
|
||||||
std::array<std::string, 4> m_showingSides;
|
std::array<std::string, NUM_ROLLED_CUBES> m_showingSides;
|
||||||
Lexicon m_englishWords;
|
Lexicon m_englishWords;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user