Mapa agora feito em lua :D
[Projeto-PCG.git] / thing.h
blob5e48707c5a062bcab4298374cf468043874795db
1 #ifndef THING_H
2 #define THING_H
4 #include "geometry.h"
6 class Thing {
7 private:
8 Ponto posicao;
9 Vetor velocidade;
10 public:
11 bool onGround;
12 bool bypass;
13 Thing();
14 void addSpeed(double xspeed, double yspeed);
15 void setSpeed(double xspeed, double yspeed);
16 double getSpeedX() {return velocidade.x;}
17 double getSpeedY() {return velocidade.y;}
18 void setPosition(double x, double y);
19 double getX() {return posicao.x;}
20 double getY() {return posicao.y;}
21 void move();
22 virtual Linha getBaseLine();
26 #endif