#include "Awnser.h" RegisterClass(Awnser); namespace orxonox{ // Constructor: Awnser::Awnser(Context* context) : BaseObject(context) { RegisterObject(Awnser); } void Awnser::XMLPort(Element& xmlelement, XMLPort::Mode mode) { SUPER(Awnser, XMLPort, xmlelement, mode); XMLPortParam(Awnser, "awnser", setAwnser, getAwnser, xmlelement, mode); XMLPortParam(Awnser, "nextQuestionId", setNextQuestion, getNextQuestion, xmlelement,mode); } void setNextQuestion(std::string nextId) { this->nextQuestionId_ = nextId; } std::string getNextQuestion() { return this->nextQuestionId_; } void setAwnser(std::string awnser) { this->awnser_ = awnser; } std::string getAwnser() { return this->awnser_; } }