what the BUG in updateAliens()??
This commit is contained in:
5
aliens.h
5
aliens.h
@@ -11,7 +11,6 @@ class Aliens
|
||||
|
||||
QVector<Alien> srcAliens;
|
||||
QVector<Alien> curAliens;
|
||||
//vector< vector<int> > TmpCells;
|
||||
int ** Cells;
|
||||
int CurWave;
|
||||
//bool PathIntersect(Alien* Al, Rectangle rect);
|
||||
@@ -20,13 +19,13 @@ class Aliens
|
||||
void clearAliens();
|
||||
void clearCells();
|
||||
bool recreatePath();
|
||||
void updateAliens();
|
||||
QVector<AlienImages> AliensPixmaps;
|
||||
private:
|
||||
int cellsize;
|
||||
int ** TmpCells;
|
||||
int fw, fh;
|
||||
QPoint DestPoint;
|
||||
QVector<AlienImages> AliensPixmaps;
|
||||
//AlienImages AliensPixmaps[1];
|
||||
bool WaveTrace(Alien* al);
|
||||
bool CreatePath(Alien* al);
|
||||
void InvWaveTrace(QPoint cp, int cnt, Alien* al);
|
||||
|
||||
Reference in New Issue
Block a user