MultiChoiceTask
#include "Tutorial/Tutorial.h"
Inherits from TutorialElement
Public Functions
Name | |
---|---|
MultiChoiceTask(std::string question, std::vector< std::string > choices, std::vector< int > correctChoices) | |
virtual void | acceptRenderer(ITutorialRenderer * tutorialRenderer) override |
Public Attributes
Name | |
---|---|
std::vector< std::string > | m_choices |
std::vector< int > | m_correctChoices |
Additional inherited members
Public Functions inherited from TutorialElement
Name | |
---|---|
TutorialElement() | |
TutorialElement(std::string content) | |
virtual | ~TutorialElement() =default |
Public Attributes inherited from TutorialElement
Name | |
---|---|
std::string | m_content |
Detailed Description
cpp
struct MultiChoiceTask;
struct MultiChoiceTask;
Todo: Not implemented!
Public Functions Documentation
function MultiChoiceTask
cpp
inline MultiChoiceTask(
std::string question,
std::vector< std::string > choices,
std::vector< int > correctChoices
)
inline MultiChoiceTask(
std::string question,
std::vector< std::string > choices,
std::vector< int > correctChoices
)
function acceptRenderer
cpp
inline virtual void acceptRenderer(
ITutorialRenderer * tutorialRenderer
) override
inline virtual void acceptRenderer(
ITutorialRenderer * tutorialRenderer
) override
Reimplements: TutorialElement::acceptRenderer
Public Attributes Documentation
variable m_choices
cpp
std::vector< std::string > m_choices;
std::vector< std::string > m_choices;
variable m_correctChoices
cpp
std::vector< int > m_correctChoices;
std::vector< int > m_correctChoices;
Updated on 2024-11-06 at 20:16:53 +0000