Aliens create, wavetrace work, towers build, aliens move - thats all by now. I think it is time to write Graphic and Network modules.
26 lines
348 B
C++
26 lines
348 B
C++
#ifndef PLAYER_H
|
|
#define PLAYER_H
|
|
|
|
#include <QObject>
|
|
|
|
#include "map.h"
|
|
|
|
class Player : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit Player(int Id, QObject *parent = 0);
|
|
unsigned long int adMoney;
|
|
int selectAlienId;
|
|
QVector <Tower> srcTowers;
|
|
QVector <Splash> srcSplashes;
|
|
int playerId;
|
|
signals:
|
|
|
|
public slots:
|
|
|
|
private:
|
|
};
|
|
|
|
#endif // PLAYER_H
|