game_in_work_example
This commit is contained in:
10
adcore.cpp
10
adcore.cpp
@@ -24,15 +24,15 @@ AD_Core::AD_Core(QObject *parent) :
|
||||
// adaliens->addAlien(0);
|
||||
// adaliens->AddAlien(0);
|
||||
// adaliens->AddAlien(0);
|
||||
adtowers->addTower(0,0,QPoint(19,7));
|
||||
adtowers->addTower(0,2,QPoint(22,7));
|
||||
for (int i=0; i<20;i++)
|
||||
adtowers->addTower(0,0,QPoint(8,20-i));
|
||||
adtowers->addTower(0,1,QPoint(8,20-i));
|
||||
for (int i=0; i<20; i++)
|
||||
adtowers->addTower(0,1,QPoint(12,i));
|
||||
adtowers->addTower(0,0,QPoint(12,i));
|
||||
for (int i=0; i<20;i++)
|
||||
adtowers->addTower(0,0,QPoint(16,20-i));
|
||||
adtowers->addTower(0,1,QPoint(16,20-i));
|
||||
waveInProgress = false;
|
||||
startTimer(50);
|
||||
startTimer(20);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user