adding alien class, but not work yet

This commit is contained in:
andrey
2010-02-05 08:02:08 +03:00
parent 4ad7d83625
commit 4c81b32bd3
4 changed files with 225 additions and 251 deletions

View File

@@ -8,7 +8,7 @@ class Alien
public:
Alien();
bool RecreatePath();
bool testTrace(QPoint start, QPoint finish);
bool testTrace() {return (WaveTrace(data->start,data->finish) > 0);}
void setPos(FPVector pos);
void update();
FPVector pos() const {return Position;}
@@ -29,7 +29,7 @@ private:
//int MaxFrame;
//float Health;
float Speed;
float PicFrame;
//float PicFrame;
//float PicI;
//float Regeneration;
QVector<QPointF> path;