21 lines
342 B
C++
21 lines
342 B
C++
#ifndef ALIENS_H
|
|
#define ALIENS_H
|
|
|
|
#include "basestruct.h"
|
|
#include "alien.h"
|
|
|
|
class Aliens
|
|
{
|
|
public:
|
|
Aliens(GameData *dataAliens);
|
|
bool AddAlien();
|
|
void clearAliens();
|
|
Alien * alienAt(int index) const {return curAliens.at(index);}
|
|
private:
|
|
GameData * data;
|
|
QVector<Alien*> srcAliens;
|
|
QVector<Alien*> curAliens;
|
|
};
|
|
|
|
#endif // ALIENS_H
|