now this work stable
global restruct fuinish part 1 of 3
This commit is contained in:
14
alien.h
14
alien.h
@@ -1,24 +1,26 @@
|
||||
#ifndef ALIEN_H
|
||||
#define ALIEN_H
|
||||
|
||||
#include "basestruct.h"
|
||||
#include "games.h"
|
||||
|
||||
class Alien
|
||||
{
|
||||
public:
|
||||
Alien(GameData * AlienData, float alienspeed = 0.1);
|
||||
Alien(games *parent, float alienspeed = 0.1);
|
||||
bool RecreatePath();
|
||||
//bool testTrace() {return (WaveTrace(data->start,data->finish) > 0);}
|
||||
void setPos(QPoint pos) {Position.pnt = pos;}
|
||||
void setPos(QPointF pos) {position = pos;}
|
||||
void update();
|
||||
void resetIndexPic() {PicIndex = 0;}
|
||||
FPVector pos() const {return Position;}
|
||||
QPointF Pos() const {return position;}
|
||||
float Angl() const {return angle;}
|
||||
int indexPix() const {return PicIndex;}
|
||||
QVector<QPointF> path;
|
||||
private:
|
||||
int ** TmpCells;
|
||||
GameData * data;
|
||||
FPVector Position;
|
||||
games *game;
|
||||
QPointF position;
|
||||
float angle;
|
||||
//int PicType;
|
||||
//int FlX;
|
||||
//int FlY;
|
||||
|
||||
Reference in New Issue
Block a user