21 lines
467 B
C
21 lines
467 B
C
#ifndef CITY_H
|
|
#define CITY_H
|
|
|
|
#include <QString>
|
|
#include <QVector3D>
|
|
|
|
struct City {
|
|
int id;
|
|
int playerId;
|
|
QString name;
|
|
int tileX;
|
|
int tileY;
|
|
QVector3D worldPos;
|
|
|
|
City() : id(0), playerId(0), name(""), tileX(0), tileY(0), worldPos(0, 0, 0) {}
|
|
City(int cId, int pId, const QString &cName, int tx, int ty, const QVector3D &pos)
|
|
: id(cId), playerId(pId), name(cName), tileX(tx), tileY(ty), worldPos(pos) {}
|
|
};
|
|
|
|
#endif // CITY_H
|