C++ error: expected unqualified-id
<p>I'm getting an error "error: expected unqualified-id before '{' token" on line 6. </p>

<p>I can't tell what's wrong.</p>

<pre><code>#include &lt;iostream&gt;

using namespace std;

class WordGame;
{
public:

    void setWord( string word )
    {
        theWord = word;
    }
    string getWord()
    {
        return theWord;
    }
    void displayWord()
    {
        cout &lt;&lt; "Your word is " &lt;&lt; getWord() &lt;&lt; endl;
    }
private:
    string theWord;
}


int main()
{
    string aWord;
    WordGame theGame;
    cin &gt;&gt; aWord;
    theGame.setWord(aWord);
    theGame.displaymessage();

}
</code></pre>
