Skip to content

InputTask

More...

#include "Tutorial/Tutorial.h"

Inherits from TutorialElement

Public Functions

Name
InputTask(std::string question, std::unordered_set< std::string > correctAnswers)
virtual voidacceptRenderer(ITutorialRenderer * tutorialRenderer) override

Public Attributes

Name
std::unordered_set< std::string >m_correctAnswers

Additional inherited members

Public Functions inherited from TutorialElement

Name
TutorialElement()
TutorialElement(std::string content)
virtual~TutorialElement() =default

Public Attributes inherited from TutorialElement

Name
std::stringm_content

Detailed Description

cpp
struct InputTask;
struct InputTask;

Todo: Not implemented!

Public Functions Documentation

function InputTask

cpp
inline InputTask(
    std::string question,
    std::unordered_set< std::string > correctAnswers
)
inline InputTask(
    std::string question,
    std::unordered_set< std::string > correctAnswers
)

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_correctAnswers

cpp
std::unordered_set< std::string > m_correctAnswers;
std::unordered_set< std::string > m_correctAnswers;

Updated on 2024-11-06 at 20:16:53 +0000