Subversion Repository Public Repository

Fangh

@ 43
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef ENIGME_H
#define ENIGME_H

#include <string>
#include <list>

class Enigme
{
public:
    Enigme();
    Enigme(std::string _enonce);
    void ajouterEnonce(std::string _enonce);
    void ajouterReponse(std::string _reponse);
    void ajouterCompetence(std::string _competence);
    void setEnigmeJoue(bool joue);

    std::string getEnonce() const;
    int getNbReponse() const;
    const std::list<std::string> * getListeReponse() const;
    std::string getCompetence() const;
    bool getEnigmeJoue() const;

    std::string afficherInfo() const;
private:
    std::string enonce;
    int nbReponse;
    std::list<std::string> listeReponse;
    std::string competence;
    bool enigmeJoue;
};

#endif // ENIGME_H

Commits for Fangh/trunk/enigme.h

Diff revisions: vs.
Revision Author Commited Message
43 Diff Diff thanoc picture thanoc Fri 05 Mar, 2010 01:30:34 +0000
34 thanoc picture thanoc Wed 03 Mar, 2010 14:31:27 +0000