Core is realy wait for work and test
Aliens create, wavetrace work, towers build, aliens move - thats all by now. I think it is time to write Graphic and Network modules.
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -1,5 +1,6 @@
|
||||
#include <QDebug>
|
||||
#include <QtGui/QApplication>
|
||||
#include <QTimer>
|
||||
|
||||
#include "adcore.h"
|
||||
|
||||
@@ -7,5 +8,8 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
adCore core;
|
||||
QApplication a(argc, argv);
|
||||
QTimer * timer = new QTimer();
|
||||
QObject::connect(timer,SIGNAL(timeout()),&core,SLOT(next()));
|
||||
timer->start(100);
|
||||
return a.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user