Aliens create, wavetrace work, towers build, aliens move - thats all by now. I think it is time to write Graphic and Network modules.
16 lines
301 B
C++
16 lines
301 B
C++
#include <QDebug>
|
|
#include <QtGui/QApplication>
|
|
#include <QTimer>
|
|
|
|
#include "adcore.h"
|
|
|
|
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();
|
|
}
|