adding alien class, but not work yet
This commit is contained in:
4
alien.h
4
alien.h
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user