Files
SAE-terra-aventura/path.h
T
T'JAMPENS QUENTIN p2406187 078ca3a983 Add getters
2025-06-19 10:24:45 +02:00

35 lines
625 B
C++

#ifndef PATH_H
#define PATH_H
#include <QMainWindow>
#include <QFile>
#include "step.h"
class Path
{
private:
QString city;
int departement;
QString name;
unsigned int difficulty;
float duration;
float length;
QString image;
QList<Step> step;
public:
Path();
Path(QFile *file);
void addStep(int indice);
QString getCity() const;
int getDepartement() const;
QString getName() const;
unsigned int getDifficulty() const;
float getDuration() const;
float getLength() const;
QString getImage() const;
QList<Step> getStep() const;
};
#endif // PATH_H