units
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user