Add getters for dialog Lists

This commit is contained in:
T'JAMPENS QUENTIN p2406187 2025-06-20 11:00:41 +02:00
parent aed27c2483
commit c4bcb8f0b8
2 changed files with 12 additions and 0 deletions

View File

@ -34,6 +34,16 @@ Step::Step() {
}
QList<QString> Step::getPersonnage() const
{
return personnage;
}
QList<QString> Step::getTexte() const
{
return texte;
}
Step::Step( QJsonObject &in)
{
title = in["title"].toString();

2
step.h
View File

@ -26,6 +26,8 @@ public:
float getLatitude() const;
float getLongitude() const;
int getResponse() const;
QList<QString> getPersonnage() const;
QList<QString> getTexte() const;
};
#endif // STEP_H