added Towers loading in level

This commit is contained in:
unknown
2010-08-26 14:39:52 +04:00
parent 47cf1e38ea
commit b3854e867d
7 changed files with 247 additions and 119 deletions

View File

@@ -1,12 +1,13 @@
#include "adcore.h"
adCore::adCore(QObject *parent) :
QThread(parent)
QThread(parent)
{
step = 0;
//admap = new Map(1);
//addata = new Game_Data(admap);
adloader = new Loader();
adloader->load("data2.xml");
addata = adloader->loadlevel(1);
if (addata != 0) qDebug("Sucsess");
else qDebug("Error");