forked from jaildesigner-jailgames/jaildoctors_dilemma
Retocado un poco el game over
This commit is contained in:
@@ -30,6 +30,7 @@ private:
|
||||
AnimatedSprite *tvSprite; // Sprite con el televisor
|
||||
|
||||
// Variables
|
||||
int preCounter; // Contador previo
|
||||
int counter; // Contador
|
||||
section_t section; // Estado del bucle principal para saber si continua o se sale
|
||||
Uint32 ticks; // Contador de ticks para ajustar la velocidad del programa
|
||||
@@ -56,6 +57,9 @@ private:
|
||||
// Dibuja los sprites
|
||||
void renderSprites();
|
||||
|
||||
// Actualiza los contadores
|
||||
void updateCounters();
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
GameOver(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *asset, options_t *options);
|
||||
|
||||
Reference in New Issue
Block a user