Files
aliendefender/player.h
2020-06-15 22:22:46 +03:00

36 lines
571 B
C++

#ifndef PLAYER_H
#define PLAYER_H
#include "base_types.h"
class Player : public QObject
{
Q_OBJECT
public:
struct PlayerStats
{
int killed_aliens;
int builded_towers;
int spend_money;
double all_damage;
double player_experience;
};
explicit Player(int Id, QObject *parent = 0);
long long int money;
unsigned long int score;
int selectAlienId;
QList <srcTowerType> srcTowers;
int playerId;
QString name;
PlayerStats stats;
signals:
public slots:
private:
};
#endif // PLAYER_H