Cambiados muchos DEFINEs por variables de param
This commit is contained in:
@@ -30,13 +30,14 @@ private:
|
||||
int kind; // Tipo de objeto
|
||||
int owner; // Identificador del dueño del objeto
|
||||
circle_t collider; // Circulo de colisión del objeto
|
||||
SDL_Rect *playArea; // Rectangulo con la zona de juego
|
||||
|
||||
// Alinea el circulo de colisión con el objeto
|
||||
void shiftColliders();
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Bullet(int x, int y, int kind, bool poweredUp, int owner, Texture *texture);
|
||||
Bullet(int x, int y, int kind, bool poweredUp, int owner, SDL_Rect *playArea, Texture *texture);
|
||||
|
||||
// Destructor
|
||||
~Bullet();
|
||||
|
||||
Reference in New Issue
Block a user