Actualizando el código
This commit is contained in:
@@ -43,14 +43,11 @@ public:
|
||||
Uint16 mTimeToLive; // Temporizador con el tiempo que el objeto está presente
|
||||
|
||||
// Constructor
|
||||
Item(LTexture *texture, SDL_Renderer *renderer);
|
||||
Item(LTexture *texture, SDL_Renderer *renderer, Uint8 type, float x, float y);
|
||||
|
||||
// Destructor
|
||||
~Item();
|
||||
|
||||
// Inicializador
|
||||
void init(Uint8 type, float x, float y);
|
||||
|
||||
// Centra el objeto en la posición X
|
||||
void allignTo(int x);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user