the Alien going right!
This commit is contained in:
12
adpainter.h
12
adpainter.h
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "basestruct.h"
|
||||
|
||||
#include <vector>
|
||||
//#include <vector>
|
||||
#include <cmath>
|
||||
|
||||
#include <QPainter>
|
||||
@@ -18,8 +18,8 @@
|
||||
#include <QPoint>
|
||||
#include <QDebug>
|
||||
|
||||
using std::deque;
|
||||
using std::vector;
|
||||
//using std::deque;
|
||||
//using std::vector;
|
||||
using std::atan;
|
||||
|
||||
class adpainter
|
||||
@@ -31,15 +31,15 @@ public:
|
||||
void clearcell(QPoint pnt);
|
||||
void clear();
|
||||
QPixmap * getPixmap();
|
||||
void drawAliens(deque<QPointF> path, FPVector * position);//int xa, int ya);
|
||||
unsigned int AnimAlien, StepAlien;
|
||||
void drawAliens(QVector<QPointF> path, FPVector * position);//int xa, int ya);
|
||||
int AnimAlien, StepAlien;
|
||||
private:
|
||||
QPixmap * buff;
|
||||
QPixmap * background;
|
||||
QPainter painter;
|
||||
QPen * pen;
|
||||
QBrush * brush;
|
||||
vector<QPixmap> AlienPix;
|
||||
QVector<QPixmap> AlienPix;
|
||||
int cellsize;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user