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:
2010-07-30 01:25:49 +04:00
parent 45988256ac
commit 5318650e91
22 changed files with 1295 additions and 140 deletions

View File

@@ -14,6 +14,7 @@ struct Alien
float health;
QPoint finish;
QVector <QPointF> path;
int pathIndex;
unsigned int gold;
};
@@ -23,10 +24,11 @@ struct Tower
int Id;
int type;
int AlienId; // aim alien
int PlayerId; // tower's owner
QPoint pos; // not QPointF because tower fixed on grid
float angle; // -180 .. 180
float range;
float speed; // shots per tick (e.g. speed=1 is 60 shots by 1sec for 60fps e.g. )
float reload; // time for reload in ticks
};