Files
SAE-terra-aventura/step.h
T
Giovanni JOSSERAND 9aee1f659b final save function
2025-06-20 14:08:36 +02:00

35 lines
722 B
C++

#ifndef STEP_H
#define STEP_H
#include <QString>
#include <QTextStream>
#include <iostream>
#include <QJsonObject>
#include <QList>
using namespace std;
class Step
{
private:
QString title;
float latitude;
float longitude;
int response;
QList<QString> personnage;
QList<QString> texte;
public:
Step();
Step(QJsonObject &in);
void setLatitude(int degree,float minute,QChar NS);
void setLongitude(int degree,float minute,QChar EW);
QString getTitle() const;
float getLatitude() const;
float getLongitude() const;
int getResponse() const;
QList<QString> getListeDialogue();
QList<QString> getListePersonnage();
QString toGPSFormat();
};
#endif // STEP_H