now this work stable

global restruct fuinish part 1 of 3
This commit is contained in:
2010-02-07 16:18:29 +03:00
parent 6a11d7fbcd
commit 3f8971b113
16 changed files with 157 additions and 110 deletions

View File

@@ -1,16 +1,14 @@
#include "aliens.h"
//using std::vector;
Aliens::Aliens(GameData *dataAliens)
Aliens::Aliens(games *parent)
{
data = dataAliens;
game = parent;
}
bool Aliens::AddAlien()
{
curAliens.push_back(new Alien(data,0.1));
curAliens.push_back(new Alien(game,0.1));
return !curAliens.isEmpty();
}