Actualizando el código
This commit is contained in:
@@ -36,23 +36,17 @@ private:
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Bullet();
|
||||
Bullet(int x, int y, int kind, bool poweredUp, int owner, LTexture *texture, SDL_Renderer *renderer);
|
||||
|
||||
// Destructor
|
||||
~Bullet();
|
||||
|
||||
// Iniciador
|
||||
void init(int x, int y, int kind, bool poweredUp, int owner, LTexture *texture, SDL_Renderer *renderer);
|
||||
|
||||
// Pinta el objeto en pantalla
|
||||
void render();
|
||||
|
||||
// Actualiza la posición y estado del objeto
|
||||
Uint8 move();
|
||||
|
||||
// Deshabilita el objeto
|
||||
void erase();
|
||||
|
||||
// Comprueba si el objeto está activo
|
||||
bool isActive();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user