what the BUG in updateAliens()??
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#define BASESTRUCT_H
|
||||
|
||||
#include <QVector>
|
||||
//#include <deque>
|
||||
#include <QPoint>
|
||||
#include <QString>
|
||||
#include <QPixmap>
|
||||
@@ -10,9 +9,11 @@
|
||||
#include <QRect>
|
||||
#include <QDebug>
|
||||
|
||||
//using std::vector;
|
||||
//using std::deque;
|
||||
#include <cmath>
|
||||
#include <deque>
|
||||
|
||||
using std::atan;
|
||||
using std::deque;
|
||||
|
||||
struct FPVector
|
||||
{
|
||||
@@ -58,7 +59,7 @@ struct Alien
|
||||
float PicFrame;
|
||||
//float PicI;
|
||||
//float Regeneration;
|
||||
QVector<QPointF> path;//path() As Point
|
||||
deque<QPointF> path;//path() As Point
|
||||
QPoint DestPnt;
|
||||
// Effect Effects;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user