source:
code/branches/Dialog_HS17/src/modules/dialogue_2/Question.cc
@
11535
| Last change on this file since 11535 was 11515, checked in by kuchlert, 8 years ago | |
|---|---|
| File size: 390 bytes | |
| Rev | Line | |
|---|---|---|
| [11515] | 1 | #include "Question.h" |
| 2 | ||
| 3 | RegisterClass(Question); | |
| 4 | ||
| 5 | namespace orxonox{ | |
| 6 | void setQuestion(std::string question) | |
| 7 | { | |
| 8 | this->question_ = question; | |
| 9 | } | |
| 10 | ||
| 11 | std::string getQuestion() | |
| 12 | { | |
| 13 | return this->question_; | |
| 14 | } | |
| 15 | ||
| 16 | void setPossibleAwnsers(std::map<std::string, Awnser> awnsers) | |
| 17 | { | |
| 18 | this->awnsers_ = awnsers; | |
| 19 | } | |
| 20 | ||
| 21 | std::map<std::string, Awnser> getPossibleAwnsers() | |
| 22 | { | |
| 23 | return this->awnsers_; | |
| 24 | } | |
| 25 | ||
| 26 | } |
Note: See TracBrowser
for help on using the repository browser.










