Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/HUD_HS16/src/modules/dialogue/NextQuestion.cc @ 11479

Last change on this file since 11479 was 11395, checked in by patricwi, 8 years ago

dialogue classes added

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.