hasta 100.000 pelotas
This commit is contained in:
@@ -11,7 +11,7 @@ SDL_Renderer *renderer = NULL;
|
||||
SDL_Event *event;
|
||||
Texture *texture = nullptr;
|
||||
std::vector<Ball *> balls;
|
||||
int test[6] = {1, 10, 100, 500, 1000, 10000};
|
||||
int test[7] = {1, 10, 100, 500, 1000, 10000, 100000};
|
||||
|
||||
bool shouldExit = false;
|
||||
Uint32 ticks = 0;
|
||||
@@ -196,6 +196,11 @@ void checkEvents()
|
||||
{
|
||||
initBalls(5);
|
||||
}
|
||||
|
||||
if (event->key.keysym.sym == SDLK_7)
|
||||
{
|
||||
initBalls(6);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user