picture loading and rotate alien and retrace
This commit is contained in:
11
aliens.h
11
aliens.h
@@ -13,23 +13,26 @@ class Aliens
|
||||
QVector<Alien> curAliens;
|
||||
//vector< vector<int> > TmpCells;
|
||||
int ** Cells;
|
||||
int CurWave;
|
||||
//bool PathIntersect(Alien* Al, Rectangle rect);
|
||||
|
||||
bool AddAlien();
|
||||
void clearAliens();
|
||||
void clearCells();
|
||||
bool recreatePath();
|
||||
private:
|
||||
int cellsize;
|
||||
int ** TmpCells;
|
||||
int fw, fh;
|
||||
QPoint DestPoint;
|
||||
QVector< QVector<QPixmap> > AliensPixmaps;
|
||||
QVector<AlienImages> AliensPixmaps;
|
||||
//AlienImages AliensPixmaps[1];
|
||||
bool CreatePath(Alien* al);
|
||||
bool WaveTrace(Alien* al);
|
||||
void InvWaveTrace(QPoint cp, int cnt, Alien* al);
|
||||
bool CreatePath(Alien* al);
|
||||
void InvWaveTrace(QPoint cp, int cnt, Alien* al);
|
||||
void updateAlienPos(Alien * al);
|
||||
int loadAlienImages(int PicType);
|
||||
int loadPixmap(int PicType, AlienImages * pixmaps);
|
||||
bool loadPixmaps(Alien * al);
|
||||
};
|
||||
|
||||
#endif // ALIENS_H
|
||||
|
||||
Reference in New Issue
Block a user