hm.... new global restruct... i think it last!

This commit is contained in:
2010-07-28 23:07:42 +04:00
parent 52a5384e6f
commit 2869e716b3
32 changed files with 721 additions and 1375 deletions

20
adcore.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include "adcore.h"
adCore::adCore(QObject *parent) :
QThread(parent)
{
step = 0;
admap = new Map(1,QSize(100,100));
addata = new Game_Data(admap);
adaliens = new Aliens(addata);
adtowers = new Towers(addata);
adsplashes = new Splashes(addata);
}
void adCore::next()
{
adtowers->update();
adsplashes->update();
adaliens->update();
step++;
}