Skip to content

TutorialElement

#include "Tutorial/Tutorial.h"

Inherited by ChoiceTask, Explanation, Headline, Hint, InputTask, MultiChoiceTask, Task

Public Functions

Name
TutorialElement()
TutorialElement(std::string content)
virtual~TutorialElement() =default
virtual voidacceptRenderer(ITutorialRenderer * tutorialRenderer) =0

Public Attributes

Name
std::stringm_content

Public Functions Documentation

function TutorialElement

cpp
inline TutorialElement()
inline TutorialElement()

function TutorialElement

cpp
inline TutorialElement(
    std::string content
)
inline TutorialElement(
    std::string content
)

function ~TutorialElement

cpp
virtual ~TutorialElement() =default
virtual ~TutorialElement() =default

function acceptRenderer

cpp
virtual void acceptRenderer(
    ITutorialRenderer * tutorialRenderer
) =0
virtual void acceptRenderer(
    ITutorialRenderer * tutorialRenderer
) =0

Reimplemented by: Explanation::acceptRenderer, Headline::acceptRenderer, Task::acceptRenderer, Hint::acceptRenderer, ChoiceTask::acceptRenderer, MultiChoiceTask::acceptRenderer, InputTask::acceptRenderer

Public Attributes Documentation

variable m_content

cpp
std::string m_content;
std::string m_content;

Updated on 2024-03-16 at 19:15:00 +0000