LOGO funcional

This commit is contained in:
2022-09-27 19:03:24 +02:00
parent 740e495ad0
commit 50e31a3db3
3 changed files with 17 additions and 41 deletions

View File

@@ -1919,7 +1919,6 @@ void Game::popBalloon(Balloon *balloon)
mBalloonsPopped++;
const Uint8 kind = balloon->getKind();
Uint8 freeIndex = 0;
switch (kind)
{
// Si es del tipo más pequeño, simplemente elimina el globo
@@ -2265,6 +2264,7 @@ void Game::renderBullets()
void Game::createBullet(int x, int y, Uint8 kind, bool poweredUp, int owner)
{
Bullet *b = new Bullet(x, y, kind, poweredUp, owner, mTextureBullet, mRenderer);
bullets.push_back(b);
}
// Actualiza los items