Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Dialogue_FS17/src/modules/dialogue/NextQuestion.cc @ 11393

Last change on this file since 11393 was 11393, checked in by rrogge, 7 years ago

Singleton funktioniert

File size: 493 bytes
Line 
1#include <vector>
2#include <string>
3
4#include "NextQuestion.h"
5#include "core/XMLPort.h"
6
7namespace orxonox{
8
9        RegisterClass(NextQuestion);
10
11        vector<NextQuestion> nextquestion;
12
13        void NextQuestion::setanswers(std::string option1, std::string option2, std::string option3){
14                options.at(0)=option1;
15                options.at(1)=option2;
16                options.at(2)=option3;
17        }
18
19        vector<std::string> NextQuestion::getanswers(void){
20                return options;
21        }
22
23        int NextQuestion::getnumOptions(){
24                return options.size();
25        }
26
27}
Note: See TracBrowser for help on using the repository browser.