new class Alien
global restruct ALL!!
This commit is contained in:
41
alien.h
Normal file
41
alien.h
Normal file
@@ -0,0 +1,41 @@
|
||||
#ifndef ALIEN_H
|
||||
#define ALIEN_H
|
||||
|
||||
#include "basestruct.h"
|
||||
|
||||
class Alien
|
||||
{
|
||||
public:
|
||||
Alien();
|
||||
bool RecreatePath();
|
||||
bool testTrace(QPoint start, QPoint finish);
|
||||
void setPos(FPVector pos);
|
||||
void update();
|
||||
FPVector pos() const {return Position;}
|
||||
QVector<QPointF> AlienPath() const {return path;}
|
||||
private:
|
||||
int ** TmpCells;
|
||||
GameData * data;
|
||||
FPVector Position;
|
||||
int PicType;
|
||||
//int FlX;
|
||||
//int FlY;
|
||||
//int Armor;
|
||||
//int Level;
|
||||
//int Money;
|
||||
int PathIndex;
|
||||
int PicIndex;
|
||||
//int PicIndl;
|
||||
//int MaxFrame;
|
||||
//float Health;
|
||||
float Speed;
|
||||
float PicFrame;
|
||||
//float PicI;
|
||||
//float Regeneration;
|
||||
QVector<QPointF> path;
|
||||
|
||||
int WaveTrace(QPoint start, QPoint finish);
|
||||
QVector<QPoint> InvWaveTrace(QPoint finish, int cnt);
|
||||
};
|
||||
|
||||
#endif // ALIEN_H
|
||||
Reference in New Issue
Block a user